aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/assets/scss
diff options
context:
space:
mode:
authorZero~Informatique2020-01-29 07:54:03 +0100
committerNotkea2020-01-29 21:59:12 +0100
commite91065602eeeebef236dae29e67d8e3334ab4029 (patch)
tree9b8ff998181c1e598c6ac7a1cfb85e84029f0f71 /viewer/src/assets/scss
parentbb50cd8e6c7643f696a9ae038a207d1c98ef0b14 (diff)
downloadldgallery-e91065602eeeebef236dae29e67d8e3334ab4029.tar.gz
viewer: improved the picture layout. clicking a picture will switch between resized-to-screen and original-size (+fullscreen). drag-n-drop scrolls/moves the picture, just like a touch device. Resolves #19
Diffstat (limited to 'viewer/src/assets/scss')
-rw-r--r--viewer/src/assets/scss/global.scss5
1 files changed, 4 insertions, 1 deletions
diff --git a/viewer/src/assets/scss/global.scss b/viewer/src/assets/scss/global.scss
index ff57775..1903c9e 100644
--- a/viewer/src/assets/scss/global.scss
+++ b/viewer/src/assets/scss/global.scss
@@ -47,11 +47,14 @@
47// === Scrollbar styling 47// === Scrollbar styling
48 48
49.scrollbar { 49.scrollbar {
50 overflow-y: auto; 50 overflow: auto;
51} 51}
52.scrollbar::-webkit-scrollbar { 52.scrollbar::-webkit-scrollbar {
53 width: 12px; 53 width: 12px;
54} 54}
55.scrollbar::-webkit-scrollbar-corner {
56 background-color: transparent;
57}
55.scrollbar::-webkit-scrollbar-thumb { 58.scrollbar::-webkit-scrollbar-thumb {
56 box-shadow: inset 0 0 6px black; 59 box-shadow: inset 0 0 6px black;
57 background-color: $toolbar-color; 60 background-color: $toolbar-color;