+
@@ -32,13 +32,19 @@
diff --git a/viewer/src/views/MainGallery.vue b/viewer/src/views/MainGallery.vue
new file mode 100644
index 0000000..06cf512
--- /dev/null
+++ b/viewer/src/views/MainGallery.vue
@@ -0,0 +1,108 @@
+
+
+
+
+
+
+
+
{{$t("gallery.unknowntype")}}
+
+
+
+
+
+
--
cgit v1.2.3
From e86fd09f406bae45be9176784c6092b2469224c4 Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Thu, 30 Jan 2020 17:04:38 +0100
Subject: viewer: picture display improvements
---
viewer/src/views/GalleryPicture.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
(limited to 'viewer/src/views')
diff --git a/viewer/src/views/GalleryPicture.vue b/viewer/src/views/GalleryPicture.vue
index 579e74b..323333a 100644
--- a/viewer/src/views/GalleryPicture.vue
+++ b/viewer/src/views/GalleryPicture.vue
@@ -25,7 +25,7 @@
@click="onClick"
@dragscrollstart="dragging=true"
>
-
+
@@ -56,6 +56,7 @@ export default class GalleryPicture extends Vue {
height: 100%;
& > img {
object-fit: contain;
+ cursor: zoom-in;
}
}
.originalSize {
@@ -67,6 +68,7 @@ export default class GalleryPicture extends Vue {
max-width: unset;
max-height: unset;
object-fit: none;
+ cursor: zoom-out;
}
}
--
cgit v1.2.3
From 16d319ac092aea56ac9f872129d23fface4b379d Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Thu, 30 Jan 2020 18:34:34 +0100
Subject: viewer: thumbnail loader styling
---
viewer/src/views/GalleryThumbnail.vue | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
(limited to 'viewer/src/views')
diff --git a/viewer/src/views/GalleryThumbnail.vue b/viewer/src/views/GalleryThumbnail.vue
index 7ceea4f..433a673 100644
--- a/viewer/src/views/GalleryThumbnail.vue
+++ b/viewer/src/views/GalleryThumbnail.vue
@@ -57,16 +57,14 @@ export default class GalleryThumbnail extends Vue {
max-height: 250px;
}
.preload {
- background: linear-gradient(to right, rgba(0, 0, 0, 0) 8%, $loader-color 18%, rgba(0, 0, 0, 0) 33%);
- background-size: 200% 50px;
- animation: preloadAnimation 2s infinite linear;
+ animation: preloadAnimation 1s infinite ease-in-out alternate;
}
@keyframes preloadAnimation {
from {
- background-position: -200px 0;
+ background-color: $content-bgcolor;
}
to {
- background-position: 200px 0;
+ background-color: $loader-color;
}
}
// Temporary size until we get the true thumbnail size
--
cgit v1.2.3
From 42105af46681d81959a5d5a9a16ec9e98463a92e Mon Sep 17 00:00:00 2001
From: Zero~Informatique
Date: Thu, 30 Jan 2020 21:24:15 +0100
Subject: viewer: new breadcrumb. navigation buttons. and styling improvements
---
viewer/src/views/GalleryThumbnail.vue | 2 +-
viewer/src/views/PanelLeft.vue | 5 +--
viewer/src/views/PanelTop.vue | 78 +++++++++++++++++------------------
3 files changed, 39 insertions(+), 46 deletions(-)
(limited to 'viewer/src/views')
diff --git a/viewer/src/views/GalleryThumbnail.vue b/viewer/src/views/GalleryThumbnail.vue
index 433a673..66e46d6 100644
--- a/viewer/src/views/GalleryThumbnail.vue
+++ b/viewer/src/views/GalleryThumbnail.vue
@@ -28,7 +28,7 @@
@load="loading=false"
/>
-
+
{{item.path}}
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue
index 16be249..35c092a 100644
--- a/viewer/src/views/PanelLeft.vue
+++ b/viewer/src/views/PanelLeft.vue
@@ -24,7 +24,7 @@