From 19f85c6338021b4f8403900087e2d2c34d6d28de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Pereira?= Date: Fri, 12 Aug 2022 14:50:23 -0300 Subject: [PATCH] Add animations for citations and descendants tree --- src/assets/css/tailwind.css | 4 +- .../Animation/AnimationOpacity.global.vue | 15 ++++++ src/components/TreeView.vue | 32 ++++++------ .../otus/components/Citation/CitationList.vue | 50 ++++++++++++++++--- .../otus/components/Citation/CitationRow.vue | 12 ++++- .../Citation/CitationRowShowMore.vue | 31 ++++++++++++ src/modules/otus/components/Descendants.vue | 10 ++-- 7 files changed, 126 insertions(+), 28 deletions(-) create mode 100644 src/components/Animation/AnimationOpacity.global.vue create mode 100644 src/modules/otus/components/Citation/CitationRowShowMore.vue diff --git a/src/assets/css/tailwind.css b/src/assets/css/tailwind.css index 8784bcd..499ac20 100644 --- a/src/assets/css/tailwind.css +++ b/src/assets/css/tailwind.css @@ -24,8 +24,8 @@ --color-secondary: 14, 165, 233; --color-secondary-content: 255, 255, 255; - --color-base-background: 17,24,39; - --color-base-foreground: 15, 23, 42; + --color-base-background: 23,23,23; + --color-base-foreground: 38,38,38; --color-base-200: 30, 41, 59; --color-base-300: 30, 41, 59; --color-base-content: 255, 255, 255; diff --git a/src/components/Animation/AnimationOpacity.global.vue b/src/components/Animation/AnimationOpacity.global.vue new file mode 100644 index 0000000..9619d6d --- /dev/null +++ b/src/components/Animation/AnimationOpacity.global.vue @@ -0,0 +1,15 @@ + + + \ No newline at end of file diff --git a/src/components/TreeView.vue b/src/components/TreeView.vue index f8b83b3..019a522 100644 --- a/src/components/TreeView.vue +++ b/src/components/TreeView.vue @@ -18,27 +18,31 @@ class="pb-4" :list="taxonomy.nomenclatural_synonyms" /> - + + + \ No newline at end of file diff --git a/src/modules/otus/components/Descendants.vue b/src/modules/otus/components/Descendants.vue index 1b45231..a88a4e6 100644 --- a/src/modules/otus/components/Descendants.vue +++ b/src/modules/otus/components/Descendants.vue @@ -7,10 +7,12 @@