+
{{ $t('journal.no-further-data') }}
-
{{ $t('journal.loading-further-data') }}
+
{{ $t('journal.no-further-data') }}
+
{{ $t('journal.loading-further-data') }}
@@ -306,10 +306,6 @@ export default defineComponent({
this.scrollDataLoaded = true;
},
- keyPressed({ keyCode }) {
- if (keyCode == 13) this.search();
- },
-
async addHistoryData() {
this.scrollDataLoaded = false;
@@ -405,83 +401,9 @@ export default defineComponent({
diff --git a/src/styles/JournalSection.scss b/src/styles/JournalSection.scss
new file mode 100644
index 0000000..f5ebe29
--- /dev/null
+++ b/src/styles/JournalSection.scss
@@ -0,0 +1,84 @@
+@import 'responsive.scss';
+
+// Animations
+.warning {
+ &-enter-from,
+ &-leave-to {
+ opacity: 0;
+ }
+
+ &-enter-active {
+ transition: all 200ms ease-in-out;
+ }
+
+ &-leave-active {
+ transition: all 200ms ease-in-out;
+ }
+}
+
+.journal-list-anim {
+ &-enter-active,
+ &-leave-active {
+ transition: all 0.5s ease;
+ }
+
+ &-enter-from,
+ &-leave-to {
+ opacity: 0;
+ }
+}
+
+//Styles
+.journal-wrapper {
+ width: 1350px;
+ padding: 1em 0;
+}
+
+.journal_warning {
+ text-align: center;
+ font-size: 1.3em;
+
+ &.error {
+ background-color: var(--clr-error);
+ }
+}
+
+.schedule-dates > * {
+ margin-right: 0.25em;
+}
+
+li,
+.journal_warning {
+ background: #202020;
+ padding: 1em;
+ margin: 1em 0;
+}
+
+.journal_loading {
+ margin-top: 2em;
+
+ img {
+ margin: 0 auto;
+ display: block;
+
+ width: 8em;
+ }
+
+ text-align: center;
+
+ .loading-label {
+ background: #333;
+ color: white;
+
+ padding: 0.5em 0.5em;
+ font-size: 1.3em;
+
+ border-radius: 1em;
+ }
+}
+
+@include smallScreen() {
+ .journal-wrapper {
+ font-size: 1.25em;
+ }
+}
diff --git a/src/styles/global.scss b/src/styles/global.scss
index 8fc9697..cb4890d 100644
--- a/src/styles/global.scss
+++ b/src/styles/global.scss
@@ -243,4 +243,37 @@ ul {
background-color: #3c3c3c;
}
}
+}
+
+.return-btn {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+
+ position: fixed;
+ right: 0;
+ bottom: 0;
+
+ z-index: 100;
+
+ margin: 0 1em 1em 0;
+
+ width: 2em;
+ height: 2em;
+
+ font-size: 1.7em;
+
+ background-color: #333;
+ color: white;
+
+ border-radius: 50%;
+ cursor: pointer;
+
+ &:hover {
+ background-color: #3c3c3c;
+ }
+
+ img {
+ width: 1.3em;
+ }
}
\ No newline at end of file
diff --git a/src/views/JournalView.vue b/src/views/JournalView.vue
index 7326129..42d02b2 100644
--- a/src/views/JournalView.vue
+++ b/src/views/JournalView.vue
@@ -18,16 +18,22 @@