From cdcfcd43490ee846c51580c854285783e93903e7 Mon Sep 17 00:00:00 2001 From: Lisa Ballard Date: Mon, 8 Aug 2022 11:13:53 -0700 Subject: [PATCH] adjust box shadow --- src/App.scss | 4 ++-- src/shared.scss | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/App.scss b/src/App.scss index 2f49483..adbc638 100644 --- a/src/App.scss +++ b/src/App.scss @@ -66,8 +66,8 @@ $border-radius: 6px; .leaflet-bottom.leaflet-right { position: fixed; } -.leaflet-bottom .leaflet-control { - box-shadow: -6px 7px 15px #242424; +.leaflet-bottom > .leaflet-control { + box-shadow: $box-shadow; margin-right: 28px; margin-bottom: 32px; } diff --git a/src/shared.scss b/src/shared.scss index 03a878e..49551cc 100644 --- a/src/shared.scss +++ b/src/shared.scss @@ -6,6 +6,8 @@ $mobile_breakpoint: 780px; $transition_speed: 500ms; // see TRANSITION_SPEED in js $z-index-map: 500; +$box-shadow: 0 5px 15px rgb(34 34 34 / 20%); + /*-- colors ---*/ // light mode