generated from moevm/nsql-clean-tempate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f8c77ed
commit 4b97ea8
Showing
29 changed files
with
419 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
} | ||
|
||
body { | ||
font-family: 'Montserrat', 'sans-serif'; | ||
background-color: #D9D9D9; | ||
} | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<template> | ||
<div v-if="show" class="modal"> | ||
<div class="modal-content"> | ||
<button @click="closeModal" class="close"> | ||
<img src="../../assets/svg/close.svg" alt="close"/> | ||
</button> | ||
<p v-for="error in errors">{{ error }}</p> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'ErrorModal', | ||
props: { | ||
show: { | ||
type: Boolean, | ||
required: true | ||
}, | ||
errors: { | ||
type: Array, | ||
required: true | ||
} | ||
}, | ||
methods: { | ||
closeModal() { | ||
this.$emit('close') | ||
} | ||
}, | ||
}; | ||
</script> | ||
|
||
<style scoped> | ||
/* Стили для модального окна */ | ||
.modal { | ||
display: block; | ||
position: fixed; | ||
z-index: 1; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
height: 100%; | ||
overflow: auto; | ||
background-color: rgba(0, 0, 0, 0.4); | ||
} | ||
.modal-content { | ||
background-color: #DA686A; | ||
margin: 15% auto; | ||
padding: 32px 64px; | ||
border: 3px solid #760A0C; | ||
width: 50%; | ||
border-radius: 10px; | ||
} | ||
.close { | ||
display: inline; | ||
left: 70%; | ||
position: absolute; | ||
} | ||
.close:hover, | ||
.close:focus { | ||
color: #000; | ||
text-decoration: none; | ||
cursor: pointer; | ||
} | ||
p:has(+ p) { | ||
margin-bottom: 16px; | ||
} | ||
p { | ||
font-size: 24px; | ||
} | ||
</style> |
Oops, something went wrong.