diff --git a/src/frontend/src/constants.tsx b/src/frontend/src/constants.tsx index 99a1beb7f..4dfcbc898 100644 --- a/src/frontend/src/constants.tsx +++ b/src/frontend/src/constants.tsx @@ -179,14 +179,6 @@ export const COLUMN_DIV_STYLE = */ export const NAV_DISPLAY_STYLE = " w-full flex justify-between py-12 pb-2 px-6 "; - -/** - * The base text for subtitle of code dialog - * @constant - */ -export const BUTTON_DIV_STYLE = " flex gap-2 "; -(" focus:ring-1 focus:ring-offset-1 focus:ring-ring focus:outline-none "); - /** * Header text for user projects * @constant diff --git a/src/frontend/src/index.css b/src/frontend/src/index.css index 15a0b4b2e..09d19db88 100644 --- a/src/frontend/src/index.css +++ b/src/frontend/src/index.css @@ -143,6 +143,18 @@ The cursor: default; property value restores the browser's default cursor style @layer components { + .extra-side-bar-save-disable { + @apply text-muted-foreground + } + .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 + } + .extra-side-bar-buttons:hover { + @apply hover:bg-muted + } + .button-div-style { + @apply gap-2 flex + } .input-primary:focus{ @apply focus:placeholder-transparent focus:ring-ring focus:border-ring } @@ -161,4 +173,5 @@ The cursor: default; property value restores the browser's default cursor style .input-dialog{ @apply text-ring cursor-pointer bg-transparent } + } \ No newline at end of file diff --git a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx index e03cb521b..a3f7da7bc 100644 --- a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx +++ b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx @@ -63,7 +63,7 @@ export default function ExtraSidebar() {