-
Notifications
You must be signed in to change notification settings - Fork 0
/
_Menu.svelte
44 lines (41 loc) · 1.01 KB
/
_Menu.svelte
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<script>
import GiTabletopPlayers from 'svelte-icons/gi/GiTabletopPlayers.svelte';
import GiBlackBook from 'svelte-icons/gi/GiBlackBook.svelte';
import GiExitDoor from 'svelte-icons/gi/GiExitDoor.svelte';
import GiSandsOfTime from 'svelte-icons/gi/GiSandsOfTime.svelte';
import Option from './_Menu/_Option.svelte'
</script>
<div class="menu">
<Option page="leave" color="hsla(1, 60%, 60%, 1)">
<GiExitDoor />
</Option>
<Option page="help" color="hsla(220, 50%, 60%, 1)">
<GiBlackBook />
</Option>
<Option page="history" color="hsla(35, 90%, 60%, 1)">
<GiSandsOfTime />
</Option>
<Option page="" color="hsla(8, 30%, 30%, 1)">
<GiTabletopPlayers />
</Option>
</div>
<div class="bottom-bg" />
<style lang="scss">
.menu {
position: relative;
display: flex;
justify-content: flex-end;
background-color: black;
width: 100%;
height: 80px;
left: 0;
}
.bottom-bg {
position: absolute;
bottom: -100px;
left: 0;
width: 100%;
height: 100px;
background-color: black;
}
</style>