diff --git a/src/frontend/src/index.css b/src/frontend/src/index.css index 09d19db88..dec62c95b 100644 --- a/src/frontend/src/index.css +++ b/src/frontend/src/index.css @@ -143,9 +143,42 @@ The cursor: default; property value restores the browser's default cursor style @layer components { + .side-bar-arrangement { + @apply flex h-full w-52 flex-col overflow-hidden border-r scrollbar-hide + } + .side-bar-search-div-placement { + @apply relative mx-auto mb-2 mt-2 flex items-center + } + .side-bar-components-icon { + @apply h-6 w-4 text-ring + } + .side-bar-components-text { + @apply w-full truncate pr-1 text-xs text-foreground + } + .side-bar-components-div-form { + @apply flex w-full items-center justify-between rounded-md rounded-l-none border border-l-0 border-dashed border-ring bg-white px-3 py-1 text-sm + } + .side-bar-components-border { + @apply cursor-grab rounded-l-md border-l-8 + } + .side-bar-components-gap { + @apply flex flex-col gap-2 p-2 + } + .side-bar-components-div-arrangement { + @apply w-full overflow-auto scrollbar-hide + } + .search-icon { + @apply absolute inset-y-0 right-0 flex items-center py-1.5 pr-3 + } .extra-side-bar-save-disable { @apply text-muted-foreground } + .side-bar-button-size { + @apply h-5 w-5 + } + .side-bar-buttons-arrangement { + @apply mb-2 mt-2 flex w-full items-center justify-between gap-2 px-2 + } .extra-side-bar-buttons { @apply relative inline-flex w-full items-center justify-center rounded-md bg-background px-2 py-2 text-foreground shadow-sm ring-1 ring-inset ring-input transition-all duration-500 ease-in-out } diff --git a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx index a3f7da7bc..4d490a818 100644 --- a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx @@ -59,8 +59,8 @@ export default function ExtraSidebar() { } return ( -
-
+
+
@@ -82,7 +82,7 @@ export default function ExtraSidebar() { openPopUp(); }} > - + @@ -94,7 +94,7 @@ export default function ExtraSidebar() { openPopUp( f.id === tabId)} />); }} > - + @@ -110,14 +110,14 @@ export default function ExtraSidebar() {
-
+
-
+
{/* ! replace hash color here */}
-
+
{Object.keys(dataFilter) .sort() .map((d: keyof APIObjectType, i) => @@ -148,7 +148,7 @@ export default function ExtraSidebar() { Icon: nodeIconsLucide[d] ?? nodeIconsLucide.unknown, }} > -
+
{Object.keys(dataFilter[d]) .sort() .map((t: string, k) => ( @@ -160,7 +160,7 @@ export default function ExtraSidebar() {
-
- +
+ {data[d][t].display_name} - +