From f9aa9e2c53e930aa362d7026dcf0d80cb1c603fe Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Sat, 12 Sep 2020 21:18:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20table=20header=20style=20problem=20in=20?= =?UTF-8?q?night=20mode;=20:bug:=20=E4=BF=AE=E5=A4=8D=EF=BC=9A=E8=A1=A8?= =?UTF-8?q?=E5=A4=B4=E9=BB=91=E5=A4=9C=E6=A8=A1=E5=BC=8F=E4=B8=8B=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/theme/antd/ant-table.less | 22 ++++++++++++++++++++++ src/theme/antd/index.less | 1 + 2 files changed, 23 insertions(+) create mode 100644 src/theme/antd/ant-table.less diff --git a/src/theme/antd/ant-table.less b/src/theme/antd/ant-table.less new file mode 100644 index 0000000..4afb9d7 --- /dev/null +++ b/src/theme/antd/ant-table.less @@ -0,0 +1,22 @@ + +.ant-table-thead{ + tr{ + th{ + &.ant-table-column-has-actions{ + &.ant-table-column-has-sorters:hover{ + background-color: @background-color-base; + } + &.ant-table-column-has-filters{ + &:hover{ + .anticon-filter, .anticon-filter:hover{ + background-color: @background-color-base; + } + } + .anticon-filter.ant-table-filter-open{ + background-color: @background-color-base; + } + } + } + } + } +} diff --git a/src/theme/antd/index.less b/src/theme/antd/index.less index 477b5ca..d0411b5 100644 --- a/src/theme/antd/index.less +++ b/src/theme/antd/index.less @@ -1,2 +1,3 @@ @import "ant-time-picker"; @import "ant-message"; +@import "ant-table";