From 584cc940e238bba141b616e979c7e00f8de73a6a Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Sat, 22 Nov 2025 02:56:19 -0700 Subject: [PATCH] Additional UI Changes for Scheduler --- .../src/Scheduling/Create_Job.jsx | 91 ++++++++++++++----- 1 file changed, 70 insertions(+), 21 deletions(-) diff --git a/Data/Engine/web-interface/src/Scheduling/Create_Job.jsx b/Data/Engine/web-interface/src/Scheduling/Create_Job.jsx index 756fb81d..267f310e 100644 --- a/Data/Engine/web-interface/src/Scheduling/Create_Job.jsx +++ b/Data/Engine/web-interface/src/Scheduling/Create_Job.jsx @@ -3229,23 +3229,47 @@ const heroTiles = useMemo(() => { justifyContent: "space-between", }} > - - {["scripts", "ansible", "workflows"].map((key) => ( - - ))} - + setCompTab(value)} + TabIndicatorProps={{ + style: { + height: 3, + borderRadius: 3, + background: "linear-gradient(90deg, #7dd3fc, #c084fc)", + }, + }} + sx={{ + minHeight: 0, + borderBottom: `1px solid ${MAGIC_UI.panelBorder}`, + "& .MuiTab-root": { + textTransform: "none", + color: MAGIC_UI.textMuted, + fontFamily: '"IBM Plex Sans","Helvetica Neue",Arial,sans-serif', + fontSize: 15, + fontWeight: 600, + minHeight: 40, + opacity: 1, + borderRadius: 1, + transition: "background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease", + "&:hover": { + color: MAGIC_UI.textBright, + backgroundImage: TAB_HOVER_GRADIENT, + boxShadow: "0 0 0 1px rgba(148,163,184,0.25) inset", + }, + }, + "& .Mui-selected": { + color: MAGIC_UI.textBright, + "&:hover": { + backgroundImage: TAB_HOVER_GRADIENT, + }, + }, + }} + > + + + + { setTargetPickerTab(value)} + TabIndicatorProps={{ + style: { + height: 3, + borderRadius: 3, + background: "linear-gradient(90deg, #7dd3fc, #c084fc)", + }, + }} sx={{ mb: 2, borderBottom: `1px solid ${MAGIC_UI.panelBorder}`, - "& .MuiTab-root": { textTransform: "none", color: MAGIC_UI.textMuted }, - "& .Mui-selected": { color: MAGIC_UI.textBright }, + "& .MuiTab-root": { + textTransform: "none", + color: MAGIC_UI.textMuted, + fontFamily: '"IBM Plex Sans","Helvetica Neue",Arial,sans-serif', + fontSize: 15, + fontWeight: 600, + minHeight: 44, + opacity: 1, + borderRadius: 1, + transition: "background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease", + "&:hover": { + color: MAGIC_UI.textBright, + backgroundImage: TAB_HOVER_GRADIENT, + boxShadow: "0 0 0 1px rgba(148,163,184,0.25) inset", + }, + }, + "& .Mui-selected": { + color: MAGIC_UI.textBright, + "&:hover": { + backgroundImage: TAB_HOVER_GRADIENT, + }, + }, }} - textColor="inherit" - indicatorColor="primary" >