From 6737bfd38a0568d61c691a507303a65550ae23fc Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Thu, 10 Sep 2020 18:44:05 +0200 Subject: viewer: information panel scrollbar and collapse with animation github: resolves #78 --- viewer/src/assets/scss/transition.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 viewer/src/assets/scss/transition.scss (limited to 'viewer/src/assets/scss/transition.scss') diff --git a/viewer/src/assets/scss/transition.scss b/viewer/src/assets/scss/transition.scss new file mode 100644 index 0000000..160f625 --- /dev/null +++ b/viewer/src/assets/scss/transition.scss @@ -0,0 +1,13 @@ +@import "~@/assets/scss/theme.scss"; + +// === Transitions for Vue + +.flex-expand-enter-active, .flex-expand-leave-active { + transition: max-height $transition-flex-expand linear; +} +.flex-expand-enter, .flex-expand-leave-to { + max-height: 0%; +} +.flex-expand-enter-to, .flex-expand-leave { + max-height: 100%; +} -- cgit v1.2.3 From f89ed0bd94ea570d9e6533301783d13b13033db0 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 11 Sep 2020 20:10:56 +0200 Subject: viewer: PR #238 code review changes --- viewer/src/assets/scss/transition.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'viewer/src/assets/scss/transition.scss') diff --git a/viewer/src/assets/scss/transition.scss b/viewer/src/assets/scss/transition.scss index 160f625..bb41f0d 100644 --- a/viewer/src/assets/scss/transition.scss +++ b/viewer/src/assets/scss/transition.scss @@ -1,3 +1,22 @@ +/* ldgallery - A static generator which turns a collection of tagged +-- pictures into a searchable web gallery. +-- +-- Copyright (C) 2020 Pacien TRAN-GIRARD +-- +-- This program is free software: you can redistribute it and/or modify +-- it under the terms of the GNU Affero General Public License as +-- published by the Free Software Foundation, either version 3 of the +-- License, or (at your option) any later version. +-- +-- This program is distributed in the hope that it will be useful, +-- but WITHOUT ANY WARRANTY; without even the implied warranty of +-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +-- GNU Affero General Public License for more details. +-- +-- You should have received a copy of the GNU Affero General Public License +-- along with this program. If not, see . +*/ + @import "~@/assets/scss/theme.scss"; // === Transitions for Vue -- cgit v1.2.3 From 1e5a1a51d21d78a4a717e9434932be9da20d3115 Mon Sep 17 00:00:00 2001 From: Zero~Informatique Date: Fri, 11 Sep 2020 21:10:09 +0200 Subject: viewer: PR #238 code review changes (2nd) --- viewer/src/assets/scss/transition.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'viewer/src/assets/scss/transition.scss') diff --git a/viewer/src/assets/scss/transition.scss b/viewer/src/assets/scss/transition.scss index bb41f0d..fb8d2af 100644 --- a/viewer/src/assets/scss/transition.scss +++ b/viewer/src/assets/scss/transition.scss @@ -1,7 +1,7 @@ /* ldgallery - A static generator which turns a collection of tagged -- pictures into a searchable web gallery. -- --- Copyright (C) 2020 Pacien TRAN-GIRARD +-- Copyright (C) 2020 Guillaume FOUET -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU Affero General Public License as -- cgit v1.2.3