aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/components/LdButtonFullscreen.vue
blob: 2302a272d35bd7a64b94d1c09c8fdd62c6e4486d (plain)
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
<template>
  <fa-icon icon="expand-arrows-alt" class="button-fullscreen" @click="$uiStore.toggleFullscreen()" />
</template>

<script lang="ts">
import { Component, Vue } from "vue-property-decorator";

@Component
export default class LdButtonFullscreen extends Vue {}
</script>

<style lang="scss">
.button-fullscreen {
  position: fixed;
  top: 0;
  right: 0;
  margin: 3px 10px;
  opacity: 50%;
  font-size: 1.5em;
  color: white;
  mix-blend-mode: difference;
  cursor: pointer;
  z-index: 4;
}
</style>