aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdButtonFullscreen.vue
diff options
context:
space:
mode:
Diffstat (limited to 'viewer/src/components/LdButtonFullscreen.vue')
-rw-r--r--viewer/src/components/LdButtonFullscreen.vue25
1 files changed, 25 insertions, 0 deletions
diff --git a/viewer/src/components/LdButtonFullscreen.vue b/viewer/src/components/LdButtonFullscreen.vue
new file mode 100644
index 0000000..2302a27
--- /dev/null
+++ b/viewer/src/components/LdButtonFullscreen.vue
@@ -0,0 +1,25 @@
1<template>
2 <fa-icon icon="expand-arrows-alt" class="button-fullscreen" @click="$uiStore.toggleFullscreen()" />
3</template>
4
5<script lang="ts">
6import { Component, Vue } from "vue-property-decorator";
7
8@Component
9export default class LdButtonFullscreen extends Vue {}
10</script>
11
12<style lang="scss">
13.button-fullscreen {
14 position: fixed;
15 top: 0;
16 right: 0;
17 margin: 3px 10px;
18 opacity: 50%;
19 font-size: 1.5em;
20 color: white;
21 mix-blend-mode: difference;
22 cursor: pointer;
23 z-index: 4;
24}
25</style>