From 505f944e500642662a572c6f17d3933abd93b1cc Mon Sep 17 00:00:00 2001 From: Guyi Date: Thu, 31 Oct 2019 15:54:29 +0800 Subject: [PATCH] =?UTF-8?q?BI-54505=20feat=EF=BC=9Ahover-hidden=E6=94=BE?= =?UTF-8?q?=E5=88=B0fineui=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/visual.less | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/less/visual.less b/src/less/visual.less index d2e19ae7b..cfc39e02c 100644 --- a/src/less/visual.less +++ b/src/less/visual.less @@ -324,4 +324,15 @@ visibility: visible; } } +} + +.hover-hidden(@cls) { + & .@{cls} { + visibility: visible; + } + &:hover { + & .@{cls} { + visibility: hidden; + } + } } \ No newline at end of file