started modal login and registration
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<template>
|
||||
<div class="overlay">
|
||||
<div class="modal">
|
||||
<slot></slot>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: "",
|
||||
data: () => ({
|
||||
|
||||
})
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.overlay{
|
||||
background-color: rgba(0,0,0,0.8);
|
||||
position:fixed;
|
||||
top:0; right:0; bottom:0; left:0;
|
||||
z-index:99999;
|
||||
}
|
||||
.modal{
|
||||
background-color:#fff;
|
||||
position:absolute;
|
||||
width:250px;
|
||||
height:200px;
|
||||
top:0; right:0; bottom:0; left:0;
|
||||
margin:auto;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user