From 4b6f59fdd36d383e9ed4e6c86c28e5335046cb8e Mon Sep 17 00:00:00 2001 From: David Tsay Date: Mon, 25 Jul 2022 15:43:27 -0700 Subject: [PATCH] cherry-pick snow theme fix (#5557) --- src/styles/_controls.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/styles/_controls.scss b/src/styles/_controls.scss index 3e356036d6..c986925783 100644 --- a/src/styles/_controls.scss +++ b/src/styles/_controls.scss @@ -25,13 +25,14 @@ /******************************************************** CONTROL-SPECIFIC MIXINS */ @mixin menuOuter() { border-radius: $basicCr; - box-shadow: $shdwMenuInner, $shdwMenu; + box-shadow: $shdwMenu; + @if $shdwMenuInner != none { + box-shadow: $shdwMenuInner, $shdwMenu; + } background: $colorMenuBg; color: $colorMenuFg; - //filter: $filterMenu; // 2022: causing all kinds of weird visual bugs in Chrome text-shadow: $shdwMenuText; padding: $interiorMarginSm; - //box-shadow: $shdwMenu; display: flex; flex-direction: column; position: absolute; @@ -60,14 +61,13 @@ cursor: pointer; display: flex; padding: nth($menuItemPad, 1) nth($menuItemPad, 2); - transition: $transIn; white-space: nowrap; @include hover { background: $colorMenuHovBg; color: $colorMenuHovFg; &:before { - color: $colorMenuHovIc; + color: $colorMenuHovIc !important; } }