+

+
@@ -34,6 +36,22 @@ export default {
margin-top: 0px;
}
+.app-bg-left {
+ width: 300px;
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ pointer-events: none;
+}
+
+.app-bg-right {
+ width: 300px;
+ position: fixed;
+ top: 0;
+ right: 0;
+ pointer-events: none;
+}
+
.body-header {
width: 100%;
height: $header-height;
diff --git a/frontend/src/assets/images/home-bg-left.png b/frontend/src/assets/images/home-bg-left.png
new file mode 100644
index 0000000..0cdb5b6
Binary files /dev/null and b/frontend/src/assets/images/home-bg-left.png differ
diff --git a/frontend/src/assets/images/home-bg-right.png b/frontend/src/assets/images/home-bg-right.png
new file mode 100644
index 0000000..8ee956b
Binary files /dev/null and b/frontend/src/assets/images/home-bg-right.png differ
diff --git a/frontend/src/assets/lang/us.png b/frontend/src/assets/lang/us.png
new file mode 100644
index 0000000..b591d05
Binary files /dev/null and b/frontend/src/assets/lang/us.png differ
diff --git a/frontend/src/assets/lang/zh.png b/frontend/src/assets/lang/zh.png
new file mode 100644
index 0000000..abb5c13
Binary files /dev/null and b/frontend/src/assets/lang/zh.png differ
diff --git a/frontend/src/assets/logo.svg b/frontend/src/assets/logo.svg
index 7565660..91c5eea 100644
--- a/frontend/src/assets/logo.svg
+++ b/frontend/src/assets/logo.svg
@@ -1 +1,8 @@
-
+
\ No newline at end of file
diff --git a/frontend/src/assets/styles/_variables.scss b/frontend/src/assets/styles/_variables.scss
index 06d6074..a3e4d3e 100644
--- a/frontend/src/assets/styles/_variables.scss
+++ b/frontend/src/assets/styles/_variables.scss
@@ -44,6 +44,10 @@ $header-height: 88px;
$footer-height: 110px;
$body-height: calc(100vh - $header-height - $footer-height);
$body-width: 1288px;
+
+$accordion-icon-width: 1rem;
+$accordion-button-icon: url("data:image/svg+xml,
");
+$accordion-button-active-icon: url("data:image/svg+xml,
");
// $default-font: "Lato", Verdana, Arial, sans-serif;
// $link-color: #ef899e;
diff --git a/frontend/src/assets/styles/main.scss b/frontend/src/assets/styles/main.scss
index ce3e697..fdc8b0b 100644
--- a/frontend/src/assets/styles/main.scss
+++ b/frontend/src/assets/styles/main.scss
@@ -179,6 +179,16 @@ p {
padding: 12px 28px 12px 12px;
outline: none;
box-shadow: none !important;
+ &::before {
+ content: '';
+ bottom: 0;
+ left: 50%;
+ width: 0;
+ height: 1px;
+ position: absolute;
+ background-color: #dee2e6;
+ transition: all 300ms ease-in-out;
+ }
.dashed-container {
flex: 1;
margin-right: 28px;
@@ -191,7 +201,11 @@ p {
color: black;
background-color: transparent;
box-shadow: none;
- border-bottom: 1px solid #dee2e6;
+ // border-bottom: 1px solid #dee2e6;
+ &::before {
+ left: 0;
+ width: 100%;;
+ }
.dashed-container {
background-color: #f3f6ff;
}
@@ -232,3 +246,11 @@ p {
display: flex;
align-items: center;
}
+
+input:-webkit-autofill {
+ box-shadow:0 0 0 1000px white inset !important;
+}
+input:-internal-autofill-previewed,
+input:-internal-autofill-selected {
+ transition: background-color 5000s ease-in-out 0s !important;
+}
\ No newline at end of file
diff --git a/frontend/src/components/FreeleapsEditor.vue b/frontend/src/components/FreeleapsEditor.vue
index 0aa6c35..7847788 100644
--- a/frontend/src/components/FreeleapsEditor.vue
+++ b/frontend/src/components/FreeleapsEditor.vue
@@ -237,7 +237,6 @@ export default {
getSelect() {
if (window.getSelection) {
let sel = window.getSelection()
- console.log('this.selectedRange', sel)
if (sel.rangeCount > 0) {
return sel.getRangeAt(0)
}
@@ -290,6 +289,7 @@ export default {
default:
console.log('none')
}
+ this.$refs.editor.blur()
// window.getSelection().removeAllRanges()
},
restoreSelection() {
@@ -307,7 +307,9 @@ export default {
updateAction($event) {
let html = $event.target.innerHTML || ''
- this.$emit('update:content', html)
+ setTimeout(() => {
+ this.$emit('update:content', html)
+ });
}
}
}
diff --git a/frontend/src/components/LaguageSwitch.vue b/frontend/src/components/LaguageSwitch.vue
new file mode 100644
index 0000000..ec41d44
--- /dev/null
+++ b/frontend/src/components/LaguageSwitch.vue
@@ -0,0 +1,66 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/src/components/PDFReader.vue b/frontend/src/components/PDFReader.vue
index 34502ae..f34226c 100644
--- a/frontend/src/components/PDFReader.vue
+++ b/frontend/src/components/PDFReader.vue
@@ -87,5 +87,8 @@ export default {
right: 0;
top: 0;
}
+ canvas {
+ width: 100%;
+ }
}
diff --git a/frontend/src/headers/HeaderGuest.vue b/frontend/src/headers/HeaderGuest.vue
index 1829e48..fc6a2ef 100644
--- a/frontend/src/headers/HeaderGuest.vue
+++ b/frontend/src/headers/HeaderGuest.vue
@@ -13,20 +13,22 @@
>
-->