diff --git a/frontend/package.json b/frontend/package.json index fcfaa74..6911fa9 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -11,13 +11,11 @@ }, "dependencies": { "@popperjs/core": "^2.11.8", - "@vueup/vue-quill": "^1.2.0", "axios": "^1.4.0", "bootstrap": "^5.3.1", "buffer": "^6.0.3", - "pdfjs-dist": "^4.2.67", + "pdfjs-dist": "^4.3.136", "pinia": "^2.1.6", - "quill": "^1.3.7", "vue": "^3.3.4", "vue-router": "^4.2.4", "vuex": "^4.1.0" @@ -28,12 +26,12 @@ "@vue/eslint-config-prettier": "^8.0.0", "eslint": "^8.45.0", "eslint-plugin-vue": "^9.15.1", + "fast-glob": "^3.3.2", "prettier": "^3.0.0", "sass": "^1.66.1", "sass-loader": "^13.3.2", "vite": "^4.4.6", "vite-plugin-svg-icons": "^2.0.1", - "fast-glob": "^3.3.2", "webpack": "^5.88.2" } } diff --git a/frontend/src/assets/images/lab-translation.png b/frontend/src/assets/images/lab-translation.png new file mode 100644 index 0000000..1acc168 Binary files /dev/null and b/frontend/src/assets/images/lab-translation.png differ diff --git a/frontend/src/assets/images/qr-code.png b/frontend/src/assets/images/qr-code.png new file mode 100644 index 0000000..b00312b Binary files /dev/null and b/frontend/src/assets/images/qr-code.png differ diff --git a/frontend/src/assets/images/submited.png b/frontend/src/assets/images/submited.png new file mode 100644 index 0000000..0c098a9 Binary files /dev/null and b/frontend/src/assets/images/submited.png differ diff --git a/frontend/src/assets/styles/buttons.scss b/frontend/src/assets/styles/buttons.scss index 5125b29..b5ba364 100644 --- a/frontend/src/assets/styles/buttons.scss +++ b/frontend/src/assets/styles/buttons.scss @@ -1,40 +1,48 @@ .stop-button { @extend .btn; - @extend .btn-secondary; + @extend .btn-outline-secondary; + @extend .btn-sm; } .back-button { @extend .btn; - @extend .btn-secondary; + @extend .btn-outline-secondary; + @extend .btn-sm; } .proceed-button { @extend .btn; @extend .btn-primary; + @extend .btn-sm; } .initiate-button { @extend .btn; @extend .btn-primary; + @extend .btn-sm; } .proceed-button { @extend .btn; @extend .btn-primary; + @extend .btn-sm; } .option-button { @extend .btn; @extend .btn-primary; + @extend .btn-sm; } .close-button { @extend .btn-close; + @extend .btn-sm; } .light-button { @extend .btn; @extend .btn-light; + @extend .btn-sm; } .inplace-proceed-button { @@ -44,3 +52,7 @@ .inplace-back-button { @extend .light-button; } + +.min-btn { + min-width: 115px; +} diff --git a/frontend/src/assets/styles/main.scss b/frontend/src/assets/styles/main.scss index 20818bb..ce3e697 100644 --- a/frontend/src/assets/styles/main.scss +++ b/frontend/src/assets/styles/main.scss @@ -104,3 +104,131 @@ p { height: 100%; margin: 0 auto; } +.btn-link { + text-decoration: none; + color: $primary; +} +.dropdown-menu { + border: none; + box-shadow: 0px 0px 24px 0px #d4d3e380; + padding: 0; + overflow: hidden; + .btn-link { + text-decoration: none; + height: 33px; + width: 100%; + color: #0d1637; + font-size: 14px; + text-align: left; + border-radius: 0; + &:hover { + background-color: #f3f6ff; + } + &.active { + background-color: #1748f8; + color: white; + } + } + .dropdown-new { + color: #1748f8; + &:hover { + background-color: white; + } + } + .dropdown-new-input-container { + padding: 6px 12px; + position: relative; + input { + border: 1px solid #e7e8eb; + box-shadow: none; + border-radius: 3px; + padding: 0 20px 0 5px; + height: 22px; + font-size: 14px; + } + .dropdown-new-input-icon { + width: 16px; + height: 16px; + padding: 3px; + color: #3d455f; + background-color: #eeeff1; + border-radius: 3px; + position: absolute; + top: 10px; + right: 15px; + } + } +} + +.container { + @media (min-width: 1200px) { + max-width: $body-width; + } +} + +.accordion-list { + box-shadow: 0px 0px 24px 0px #d4d3e380; + border: none; + border-radius: 12px; + margin-bottom: 16px; + .accordion-item { + border: none; + } +} +.accordion-button { + padding: 12px 28px 12px 12px; + outline: none; + box-shadow: none !important; + .dashed-container { + flex: 1; + margin-right: 28px; + padding: 8px 12px; + font-weight: bold; + border: 1px dashed #aebffd; + border-radius: 3px; + } + &:not(.collapsed) { + color: black; + background-color: transparent; + box-shadow: none; + border-bottom: 1px solid #dee2e6; + .dashed-container { + background-color: #f3f6ff; + } + } +} + +.submission-result-container { + @extend .flex-row-container; + align-items: center; + justify-content: center; + min-height: $body-height; +} + +.submission-result-card { + width: fit-content; + min-width: 641px; + padding: 45px 10px; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + font-size: 26px; + line-height: 36px; + box-shadow: 0px 0px 24px 0px #d4d3e380; + + img { + width: 86px; + margin-bottom: 20px; + } + .btn-link { + text-decoration: underline; + padding: 0; + font-size: inherit; + } +} + +.upload-contianer { + display: flex; + align-items: center; +} diff --git a/frontend/src/components/FreeleapsEditor.vue b/frontend/src/components/FreeleapsEditor.vue new file mode 100644 index 0000000..0aa6c35 --- /dev/null +++ b/frontend/src/components/FreeleapsEditor.vue @@ -0,0 +1,520 @@ + + + + + diff --git a/frontend/src/components/InputSelector.vue b/frontend/src/components/InputSelector.vue new file mode 100644 index 0000000..1ed6310 --- /dev/null +++ b/frontend/src/components/InputSelector.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/frontend/src/components/PDFReader.vue b/frontend/src/components/PDFReader.vue index d212040..34502ae 100644 --- a/frontend/src/components/PDFReader.vue +++ b/frontend/src/components/PDFReader.vue @@ -1,81 +1,91 @@ - diff --git a/frontend/src/components/VueQuill.vue b/frontend/src/components/VueQuill.vue deleted file mode 100644 index fdb3f0c..0000000 --- a/frontend/src/components/VueQuill.vue +++ /dev/null @@ -1,70 +0,0 @@ - - - - diff --git a/frontend/src/headers/HeaderUser.vue b/frontend/src/headers/HeaderUser.vue index 1211e25..d92219f 100644 --- a/frontend/src/headers/HeaderUser.vue +++ b/frontend/src/headers/HeaderUser.vue @@ -1,26 +1,61 @@