From ccf9a410ac10ed9d36cee94da60b6dcf06c7b236 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 17 Mar 2022 14:50:13 +0800 Subject: [PATCH] style: some code --- components/rate/style/index.less | 4 ++-- components/steps/style/nav.less | 8 ++++++++ components/table/style/index.less | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/components/rate/style/index.less b/components/rate/style/index.less index 10abfd7c6..7b5dad79e 100644 --- a/components/rate/style/index.less +++ b/components/rate/style/index.less @@ -36,8 +36,7 @@ > div { transition: all 0.3s, outline 0s; - &:hover, - &:focus-visible { + &:hover { transform: @rate-star-hover-scale; } @@ -47,6 +46,7 @@ &:focus-visible { outline: 1px dashed @rate-star-color; + transform: @rate-star-hover-scale; } } diff --git a/components/steps/style/nav.less b/components/steps/style/nav.less index be3f36fe9..0c39fa6f8 100644 --- a/components/steps/style/nav.less +++ b/components/steps/style/nav.less @@ -124,3 +124,11 @@ } } } + +.@{steps-prefix-cls}-navigation.@{steps-prefix-cls}-horizontal { + > .@{steps-prefix-cls}-item + > .@{steps-prefix-cls}-item-container + > .@{steps-prefix-cls}-item-tail { + visibility: hidden; + } +} diff --git a/components/table/style/index.less b/components/table/style/index.less index 88e6e8d1b..abf4bd907 100644 --- a/components/table/style/index.less +++ b/components/table/style/index.less @@ -508,13 +508,13 @@ &:focus, &:hover, &:active { - border-color: currentColor; + border-color: currentcolor; } &::before, &::after { position: absolute; - background: currentColor; + background: currentcolor; transition: transform 0.3s ease-out; content: ''; }