Add shadows to UI elements

This commit is contained in:
James Lyne 2021-05-24 21:57:53 +01:00
parent 47d0b1e675
commit 2ffe57c38a
5 changed files with 11 additions and 0 deletions

View File

@ -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 */

View File

@ -128,6 +128,7 @@ export default defineComponent({
button {
width: 5rem;
height: 5rem;
box-shadow: var(--box-shadow);
& + button {
margin-left: 1rem;

View File

@ -179,6 +179,7 @@ export default defineComponent({
<style lang="scss" scoped>
#map-context-menu {
background-color: var(--background-base);
box-shadow: var(--box-shadow);
color: var(--text-base);
border-radius: var(--border-radius);
position: fixed;

View File

@ -78,6 +78,7 @@
background-color: var(--background-base);
color: var(--text-base);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
display: flex;
flex-direction: column;
padding: 1.5rem;

View File

@ -17,6 +17,7 @@
.leaflet-control {
background-color: var(--background-base);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
margin: 0;
box-sizing: border-box;
overflow: hidden;
@ -36,6 +37,7 @@
align-items: center;
padding: 0;
border: none;
box-shadow: var(--box-shadow);
a {
border-radius: 0;
@ -215,6 +217,7 @@
.leaflet-bar {
flex-direction: column;
box-shadow: var(--box-shadow);
a {
width: 5rem;
@ -223,6 +226,10 @@
}
}
.leaflet-control-layers {
box-shadow: var(--box-shadow);
}
.leaflet-control-logo {
order: 1;
margin-bottom: 1rem;