From 02faa4bcf121078ecb0076a1b483b2e21aa7cd74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=81=8F=E5=8F=B3?= Date: Tue, 21 Apr 2020 16:53:06 +0800 Subject: [PATCH] :lipstick: tweak Table selected row hover background (#23313) --- components/style/themes/default.less | 2 +- components/table/style/index.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/components/style/themes/default.less b/components/style/themes/default.less index 39387da149..c473a7adc1 100644 --- a/components/style/themes/default.less +++ b/components/style/themes/default.less @@ -546,7 +546,7 @@ @table-selected-row-color: inherit; @table-selected-row-bg: @primary-1; @table-body-selected-sort-bg: @table-selected-row-bg; -@table-selected-row-hover-bg: @table-selected-row-bg; +@table-selected-row-hover-bg: darken(@table-selected-row-bg, 2%); @table-expanded-row-bg: #fbfbfb; @table-padding-vertical: 16px; @table-padding-horizontal: 16px; diff --git a/components/table/style/index.less b/components/table/style/index.less index 9a338bb3f3..ab3a8e96bd 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -114,6 +114,7 @@ &.@{table-prefix-cls}-row-selected { > td { background: @table-selected-row-bg; + border-color: rgba(0, 0, 0, 0.03); } &:hover {