From 2ffe57c38a00afbe8d816d8e8df6da8695580af1 Mon Sep 17 00:00:00 2001 From: James Lyne Date: Mon, 24 May 2021 21:57:53 +0100 Subject: [PATCH] Add shadows to UI elements --- index.html | 1 + src/components/Sidebar.vue | 1 + src/components/map/MapContextMenu.vue | 1 + src/scss/_placeholders.scss | 1 + src/scss/leaflet/_controls.scss | 7 +++++++ 5 files changed, 11 insertions(+) diff --git a/index.html b/index.html index 5646e47..b8c11f2 100644 --- a/index.html +++ b/index.html @@ -128,6 +128,7 @@ --border-radius: 1rem; --border-color: #333333; /* Control borders */ + --box-shadow: 2px 2px 0px #111111; --text-base: #cccccc; /* Normal text */ --text-emphasis: #eeeeee; /* Chat messages/:focus inputs */ diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 80bd666..0d9bf65 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -128,6 +128,7 @@ export default defineComponent({ button { width: 5rem; height: 5rem; + box-shadow: var(--box-shadow); & + button { margin-left: 1rem; diff --git a/src/components/map/MapContextMenu.vue b/src/components/map/MapContextMenu.vue index e9d87e9..baaad78 100644 --- a/src/components/map/MapContextMenu.vue +++ b/src/components/map/MapContextMenu.vue @@ -179,6 +179,7 @@ export default defineComponent({