From 7b47403ae868be10acdbc11ff0b63a4f798bcfe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com> Date: Thu, 21 May 2026 10:12:57 +0800 Subject: [PATCH] =?UTF-8?q?style(styles):=20=E4=B8=BAel-table=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=87=AA=E5=AE=9A=E4=B9=89=E6=BB=9A=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klp-ui/src/assets/styles/element-ui.scss | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/klp-ui/src/assets/styles/element-ui.scss b/klp-ui/src/assets/styles/element-ui.scss index 8e0d00d7..b98be4b0 100644 --- a/klp-ui/src/assets/styles/element-ui.scss +++ b/klp-ui/src/assets/styles/element-ui.scss @@ -302,6 +302,7 @@ body { padding: 4px 8px !important; font-size: 12px; height: $--btn-height; + &.is-circle { padding: 4px !important; } @@ -343,9 +344,28 @@ body { } } +.el-table ::-webkit-scrollbar { + width: 8px !important; + height: 12px !important; +} + +.el-table ::-webkit-scrollbar-track { + background-color: transparent !important; +} + +.el-table ::-webkit-scrollbar-thumb { + background-color: #c0c4cc !important; + border-radius: 0 !important; +} + +.el-table ::-webkit-scrollbar-thumb:hover { + background-color: #909399 !important; +} + .el-table__fixed, .el-table__fixed-right, .el-table__fixed-left { + // 表头(深灰黑 + 纯白文字) .el-table__fixed-header-wrapper { th.el-table__cell { @@ -1639,4 +1659,4 @@ div.pagination-container { color: $--color-primary; } } -} \ No newline at end of file +}