diff --git a/src/assets/scss/component/modal.scss b/src/assets/scss/component/modal.scss index 729c956..5ba1fd8 100644 --- a/src/assets/scss/component/modal.scss +++ b/src/assets/scss/component/modal.scss @@ -1,11 +1,35 @@ .modal-overlay { position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: rgba(0, 0, 0, 0.5); + top: $nav-bar-height; + left: $side-bar-width; + width: calc(100vw - $side-bar-width); + height: calc(100vh - $nav-bar-height); + background: rgba(255, 255, 255, 0.7); display: flex; justify-content: center; align-items: center; +} + +.modal-content { + @include flex-box(column, center, 20px); + width: 400px; + padding: 0px 30px; + border-radius : 10px; + box-shadow: $base-shadow; + background-color: white; + .modal-main { + @include flex-box(column, center, 20px); + } +} + +.fade-enter-from, .fade-leave-to { + opacity: 0; +} + +.fade-enter-active, .fade-leave-active{ + transition: all 0.3s; +} + +.fade-enter-to, .fade-leave-from{ + opacity: 1; } \ No newline at end of file diff --git a/src/assets/scss/item.scss b/src/assets/scss/item.scss new file mode 100644 index 0000000..7567c6c --- /dev/null +++ b/src/assets/scss/item.scss @@ -0,0 +1,7 @@ +.root-container { + @include flex-box(column, space-between, 20px); + background: $back-color; + width: 100%; + min-height:100%; + padding: 30px 40px +} \ No newline at end of file diff --git a/src/components/common/btn/SuccessWideBtn.vue b/src/components/common/btn/SuccessWideBtn.vue new file mode 100644 index 0000000..3f07a5f --- /dev/null +++ b/src/components/common/btn/SuccessWideBtn.vue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/btn/ThemeWideBtn.vue b/src/components/common/btn/ThemeWideBtn.vue new file mode 100644 index 0000000..4555bf9 --- /dev/null +++ b/src/components/common/btn/ThemeWideBtn.vue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/btn/WarningWideBtn.vue b/src/components/common/btn/WarningWideBtn.vue new file mode 100644 index 0000000..fecbcda --- /dev/null +++ b/src/components/common/btn/WarningWideBtn.vue @@ -0,0 +1,29 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/info/DescriptionInfo.vue b/src/components/common/info/DescriptionInfo.vue new file mode 100644 index 0000000..ed33895 --- /dev/null +++ b/src/components/common/info/DescriptionInfo.vue @@ -0,0 +1,29 @@ + + + + + diff --git a/src/components/common/info/TitleInfo.vue b/src/components/common/info/TitleInfo.vue new file mode 100644 index 0000000..0199006 --- /dev/null +++ b/src/components/common/info/TitleInfo.vue @@ -0,0 +1,48 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/input/TextAreaInput.vue b/src/components/common/input/TextAreaInput.vue new file mode 100644 index 0000000..efaaf8a --- /dev/null +++ b/src/components/common/input/TextAreaInput.vue @@ -0,0 +1,30 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/modal/ModalFooter.vue b/src/components/common/modal/ModalFooter.vue new file mode 100644 index 0000000..66a0c82 --- /dev/null +++ b/src/components/common/modal/ModalFooter.vue @@ -0,0 +1,35 @@ + + + + + \ No newline at end of file diff --git a/src/components/common/modal/ModalHeader.vue b/src/components/common/modal/ModalHeader.vue new file mode 100644 index 0000000..e5b84ca --- /dev/null +++ b/src/components/common/modal/ModalHeader.vue @@ -0,0 +1,34 @@ + + + + + \ No newline at end of file diff --git a/src/components/item/ItemCreateModal.vue b/src/components/item/ItemCreateModal.vue new file mode 100644 index 0000000..a817e26 --- /dev/null +++ b/src/components/item/ItemCreateModal.vue @@ -0,0 +1,111 @@ + + + + + \ No newline at end of file diff --git a/src/components/item/ItemDeleteModal.vue b/src/components/item/ItemDeleteModal.vue new file mode 100644 index 0000000..d8ec501 --- /dev/null +++ b/src/components/item/ItemDeleteModal.vue @@ -0,0 +1,63 @@ + + + + + \ No newline at end of file diff --git a/src/components/item/ItemInfo.vue b/src/components/item/ItemInfo.vue new file mode 100644 index 0000000..2400381 --- /dev/null +++ b/src/components/item/ItemInfo.vue @@ -0,0 +1,53 @@ + + + + + \ No newline at end of file diff --git a/src/components/item/ItemModal.vue b/src/components/item/ItemModal.vue deleted file mode 100644 index 1a861d9..0000000 --- a/src/components/item/ItemModal.vue +++ /dev/null @@ -1,23 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/components/item/ItemTable.vue b/src/components/item/ItemTable.vue index c8dd4bc..02ffcad 100644 --- a/src/components/item/ItemTable.vue +++ b/src/components/item/ItemTable.vue @@ -1,5 +1,4 @@