From d5f60b8476104c50c17be5eec327d9b513336563 Mon Sep 17 00:00:00 2001 From: Guyi Date: Thu, 7 Jan 2021 18:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=20QFX-3089=20feat=EF=BC=9A=E6=B0=94=E6=B3=A1?= =?UTF-8?q?=E5=BC=B9=E7=AA=97=E5=8A=A0=E4=B8=8A=E9=98=B4=E5=BD=B1=EF=BC=8C?= =?UTF-8?q?ie9+=E6=B2=A1=E6=9C=89=E4=BA=A7=E7=94=9F=E5=81=8F=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/less/base/combo/popup.bubble.less | 5 ++++- src/less/visual.less | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/less/base/combo/popup.bubble.less b/src/less/base/combo/popup.bubble.less index 6d92eb127..2945caa97 100644 --- a/src/less/base/combo/popup.bubble.less +++ b/src/less/base/combo/popup.bubble.less @@ -1,6 +1,9 @@ @import "../../index"; -// ie下造成popup向下偏移 .bi-bubble-popup-view { + .box-shadows(0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12)); + &.bi-popup-view .list-view-shadow { + .box-shadow(none); + } } \ No newline at end of file diff --git a/src/less/visual.less b/src/less/visual.less index cfc39e02c..241c1cc6e 100644 --- a/src/less/visual.less +++ b/src/less/visual.less @@ -28,6 +28,12 @@ -moz-box-shadow: @arguments; } +.box-shadows(@shadow1, @shadow2, @shadow3) { + box-shadow: @shadow1, @shadow2, @shadow3; + -webkit-box-shadow: @shadow1, @shadow2, @shadow3; + -moz-box-shadow: @shadow1, @shadow2, @shadow3; +} + .background-color(@color, @alpha) { background-color: fade(@color, @alpha); @ieColor: argb(fade(@color, @alpha));