From 595cb07313a0779f3afb57af592ddf83e5c73360 Mon Sep 17 00:00:00 2001 From: chinonso098 Date: Mon, 23 Sep 2024 14:16:10 -0400 Subject: [PATCH] working on nesting in tree view --- .../filetreeview/filetreeview.component.css | 11 ++ .../filetreeview/filetreeview.component.html | 34 ++-- .../filetreeview/filetreeview.component.ts | 167 +++++++++++------- 3 files changed, 133 insertions(+), 79 deletions(-) diff --git a/src/app/shared/system-component/filetreeview/filetreeview.component.css b/src/app/shared/system-component/filetreeview/filetreeview.component.css index 12e121f..284c4e0 100644 --- a/src/app/shared/system-component/filetreeview/filetreeview.component.css +++ b/src/app/shared/system-component/filetreeview/filetreeview.component.css @@ -30,11 +30,22 @@ display: block; } + + .root-caret-active{ + position: 'relative'; + transform: rotate(0deg); + } + .caret-active { position: 'relative'; transform: rotate(90deg); } + .root-caret-nested{ + position: 'relative'; + transform: rotate(270deg); + } + .caret-nested { position: 'relative'; transform: rotate(0); diff --git a/src/app/shared/system-component/filetreeview/filetreeview.component.html b/src/app/shared/system-component/filetreeview/filetreeview.component.html index 2860da2..76bbf22 100644 --- a/src/app/shared/system-component/filetreeview/filetreeview.component.html +++ b/src/app/shared/system-component/filetreeview/filetreeview.component.html @@ -1,4 +1,6 @@ - @@ -14,7 +16,7 @@ - + @@ -23,7 +25,7 @@

{{quickAccess}}

-