You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
328 B
Vue
24 lines
328 B
Vue
3 years ago
|
<template>
|
||
|
<div v-if="this.$slots.default" class="overlay">
|
||
|
<slot></slot>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: 'overlay'
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
.overlay{
|
||
|
position: fixed;
|
||
|
top: 0;
|
||
|
left: 0;
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
background-color: #111d;
|
||
|
user-select: none;
|
||
|
z-index: 50;
|
||
|
}
|
||
|
</style>
|