2022-11-10 15:44:58 -05:00
|
|
|
/* site is mainly using white theme. */
|
|
|
|
/* header is mainly using g100 */
|
|
|
|
/* mockup wanted white, not grey, text */
|
2024-08-01 13:35:16 -04:00
|
|
|
@import 'slick-carousel/slick/slick.css';
|
Spiffui/newui (#1891)
* Scaffold new UI homepage, hide current nav bar
* Layout set up
Divider was fiddly, but got the same setup as Figma now.
* Config to allow svg loading and imports etc. in Vite
Also moved preact from dev deps to deps (recommended).
* Configure app to use Poppins
Was a little tricky, had to isolate this from the rest of the app.
* Move icons from figma to app, set up menus
SVGs have to be exported from Figma, moved into assets in app, etc.
* Layout and SideMenu
Components and layout all set.
* Some basic global themeing knocked off from Web3
* Datagrid Layout complete
Nothing works and the data is contrived, but it's all matchy-matchy with the Figma view and so on.
* Menu items hover and rollover states
* Add card row
* useProcessInstances hook
Knocked off from the call logic in ProcessInstanceListTable
* Responsiveness
* Responsive tweaks
* Live data in grid etc.
* Phone responsive
* Responsivness working across all breakpoints
* Side menu height simplification
* more chips for milestone and status
* Basic client grid search
* Newui README and component notes.
* Add docs, cleanups, etc.
* Component docs
* Theme more robust
Also added framework for dark mode.
* Dark mode and theme enhancements
* Install signals integration for vite, cleanup, and working darkmode toggle.
* Update SpiffUIV2.tsx
* Toggle feature for menu items
Includes ability to swap icon and text on a toggle. Useful for dark mode toggle and possibly other things.
* User menu pinned to bottom of VH
Doesn't get lost if datagrid is long.
* Color fixes for dark mode, added in tokens where possible.
* Responsive Side Menu
* adjusted filter cards to dark mode
* Customize global themes for light and dark success/light/info/warning/error
Pushing use of tokens everywhere, took some wrangling but it's in place now.
Also fixed cards and a few other things to size more cleanly in responsive modes.
* Fix tab light/dark mode swap
Requires a bit more customiization of the theme.
* Slide transition for menu
* Solved very annoying MUI problem
If there is a scrollbar on the screen, opening a Select removes it. This is intentional (use can not scroll the screen while select is open) but it has the unfortunate consequence of removing the browser scrollbar is that it increases the viewport size, causing all responsive layout to shift. This tells it "leave it be".
Also add ability to feed in info to process instance hook.
* Refactor some items to make layouts more declarative.
We want the info window to be in the center-right of the view all the time, with some appropriate padding on the top-bottom, so regardless of the scroll position or window size they never lose it.
Also, responsiveness (will resize until MD breakpoint then hide).
* Refactor Dashboard to switch grids more cleanly
* Info panel wired up
* Task Collection, view hook etc.
* My Tasks search working
* Tab nav set up
* "Old" forms loading into "new" flyout window.
Had to move a few things around and dig into the routes, but got it up and running for demo.
* InfoPanel displays selections from different grid views
Built mini-factory to feed InfoPanel ReactNodes to render using selected grid item data.
* Info panel toolbar, formatting and light/dark settings.
* InfoPanel display with tasks
APIs need to be sorted out, there doesn't appear to be an easy way to get all Tasks for a given ProcessId at this point.
* Format dates in grids
* Wire everything up for working workflow (demo-worthy)
* Toggle for Row click panel open/close
* Completed and waiting tasks in info panel.
* Scrollable grids in the Dashboard view (no more page scrolling)
* Remove mystery zero
Stray truthy test was rendering the result (false, 0)
* Tweak to prevent child scrollbars from overlaying infopanel windows.
* had to install jsdom for Vue testing.
* Update package-lock.json
* Possibly ran npm i in the wrong directory hmm...
* add optional platform dep
* update lock file with optional dep info
* Add ESBuild (this package was not found)
There might be a global install but Vite/npm ain't seein' it.
* Trying to make esbuild optional (it might already be global)
* Accordions for tasks, and create a hook to enable some flexible customization.
* Updates and refactoring to make more (possibly) extension-ready components for the data displays.
* PI times summary report
Also cleaned up some MUI Dom errors/warnings.
* build images for newui
* revert some changes in package-lock that did not help
* Rebuilding repo (had "bad objects" error)
* Charts (mostly for demo)
* Responsive!
* Collapsible side menu
Added a button component suitable for the positioning/display, adjusted responsiveness (when the menu is collapsed, we need the grid to take up more room, and when the menu is naturally collapsed by screen size, we don't want the toggle button, etc.)
* Adjust menu to display abbreviated spiff logo when collapsed.
* Update DashboardCharts.tsx
* Inserted Paper wrapper for sidemenu
Makes the background responsive to dark mode (so it's not just more black surface).
* Update SideMenu.tsx
Fix positioning to accommodate new wrapper padding.
* First wave of theme changes, global font alterations, restructure nav to top
* Moving the design revamp along
Walking the line between the new ideas but using the current functionality and components (we don't have designs for where things lik the dark mode and logout buttons go, the toolbar was removed but now we need a place for the start process button, we still need the tabs, etc.).
* Moving new style along
Had to add custom background palette for dark/light mode.
* Carousel display and task cards for new display
* Grids, carousels, accordions, etc.
All in design requirement Desktop 27 (Figma file)
* All finished
Revamped, workflow implemented, rotating charts, dark mode checked, new scrollbars for more ipad-like feel, search working, etc. etc.
* Tweaks and good to go.
* Update MyProcesses.tsx
Remove console.log.
* Collapse process detail by default, and fix tasks label.
* Full screen containers
We don't want th default max width enforced by MUI.
* TopNav responsiveness and speedial
* Responsive grid areas
* Add task counts
* create a top level route for the new spiff ui from App.tsx w/ burnettk (#1586)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
* Unused imports
* Clean up wonky pie chart.
* Remove hardcoded url
* Clean up info panel
* Fix menu button responsive text wrap wonk
* Put grid back
With data changes since there is more stuff in the first column (based on the design). I took a best guess.
* Remove cell focus outline with CSS overrides MUI
* Flyout Panel for demo (new look etc.)
* Task switching in panel.
* Cleanup tweaks pre-demo.
There is a bug in the "first select" of a row with tasks, I'm aware of it.
* Rework flow of data, make it simpler
Fixes a bug; when you clicked a PI row the first time, its tasks wouldn't load. If you did it again, everything worked. The way the code moved data to the InfoPanel was unclear, cleaning that up made the bug obvious.
* put back psycopg2 and mysqlclient
* Create useProcessModels.tsx
* Create useProcessGroups.tsx
* Update ProcessInstanceCard.tsx
Fixes task count display
* Refactor for top level routing
Keeping all views as children of SpiffUIV2 (will make swapping app easier).
* Update SpiffUIV2.tsx
Routing and view scaffolding set.
* Menu and button nice nice in dark mode etc.
* View transitions
* Process group/model data under control and feeding into view.
* Using RXJS for broadcasting to menu items.
* Update SpiffUIV2.tsx
* Config seemed broken (I couldn't start the app, Vite not found etc.)
I fixed by moving @preact/preset-vite to dependencies (this seems required, probably because it adds types and primitives that are used in runtime code or something) and making sure Node was up to date.
* Fix for Preact breaking rendering lifecycle
One of their PRs put a ridiculously low check on rerenders, and in dev/debug mode throws an app-crashing error, which affected the MUI-X Datagrid.
* Button components aware of stream
Also had to add a way for buttons to know what the view they nav to was loaded from the URL (e.g. a bookmark) to meet the design req.
* Have to make sure buttons that have no paths don't respond to href load logic.
* Layout for components, menu, treeview, theme tweaks
Needed to alter text.secondary at theme level to accommodate designs.
* Recurse through Process Group data to PM tree build tree for display
All set.
* Treeview complete
Also moved some things around to track with evolving app structure.
* Fully working tree with counters.
* Favorites/Recently used layout, components, icons, etc.
* Favorites and process groups displays
A bit naive, but for now gets the job done.
* Select of a group CArdor a group in the Tree updates view
Display PMs and PGs for any group, and some ideas to tie selecting a Card into the Tree. This kind of has to work, if you don't do it the tree seems useless.
* Create TreeItem wrapper
TreeItems don't carry any data that could be used for crumbs. Need to wrap TreeItem and add a property that lets you expand any node anywhere in the hierarchy.
* Update __init__.py
* Update StartProcess.tsx
Scrolling content area
* Tree expansion from cards working as expected
Have to do the collapse side of it, but so far so good. Also tweaks to scrolling area.
* Wrap search bar and padding tweaks
More explicit layout around child components.
* Tree/card tracking working.
Highlighting based on clicks, etc, very fancy.
* Tree -> Cards -> Tree fully working, starting breadcrumbs.
Breadcrumbs will be how this works on mobile, nobody will use the tree on a phone.
* Collapse button will be used all over
* More wiring details tree -> card -> tree -> search
When search returns results, the tree or card nav is no longer the control. Use imperative ref to wipe expanded nodes. Also, make sure that if models and groups are returned that the accordions expand.
Remove console logs.
* Cross group model highlighting
Tricky one: If you have several folders expanded in the tree, and are clicking through the models, if you click a model in a "non active" group, we have to clear the current group assets and load that group's. Since the cards come after the switch, they don't hear the clickstream that initiated them, so the model that was selected in the tree won't update the associated card's style. Fix that by passing in the lastSelected object to the cards and inspecting on init.
* Localstorage, favorites, default favorite view (vs. groups), etc.
* Guard no groups.
* Update StartProcess.tsx
Padding change opened up window, needed to adjust.
* Update StartProcess.tsx
* Update LocalStorageService.ts
Update empty string to empty array.
* Tree panel collapse/expand
With everything else going on, this was tricky to get responsive, but working as expected now. Also tweak to fix annoying thing in MenuItems. Also made sure dark mode tracks.
* Hover effects for cards and text cleanups
Hover is useless on touch screens, but otherwise this is a bit more in keeping with the design.
* Breadcrumbs, root element and favorites in collapse tree view, etc.
This pretty much nails it.
* Add Favorite Count
Add count to favorites indicators. Helps user make sense of "I'm clicking it why are no items loading (because there are zero favorites).
* Docs, cleanup
Also fix that NavBar logo issue in the "old" app.
* fix breadcrumb re-render issue when saving json file for first time w/ burnettk
* fix / ignore eslint issues
* add types for react-slick
* ignore ts error
* revert nav bar to undo logout logo change w/ burnettk
* Update spiffworkflow-frontend/src/a-spiffui-v2/views/Dashboards/infopanels/ProcessInfo.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
* Update spiffworkflow-frontend/src/a-spiffui-v2/views/StartProcess/StartProcess.tsx
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
---------
Co-authored-by: Tim Consolazio <tcoz@tcoz.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2024-07-09 13:39:29 -04:00
|
|
|
@import 'slick-carousel/slick/slick-theme.css';
|
|
|
|
|
|
|
|
body {
|
|
|
|
/* This prevents the annoying MUI select box layout shift */
|
|
|
|
overflow-y: auto !important;
|
|
|
|
}
|
2023-12-13 10:50:26 -08:00
|
|
|
.cds--header,
|
|
|
|
a.cds--header__menu-item {
|
2022-11-10 15:44:58 -05:00
|
|
|
color: white;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
2022-11-24 11:06:11 -05:00
|
|
|
.megacondensed {
|
2023-09-08 11:07:43 -04:00
|
|
|
padding-left: 0;
|
|
|
|
margin-left: 0;
|
2022-11-24 11:06:11 -05:00
|
|
|
}
|
|
|
|
|
2022-11-21 22:49:09 -05:00
|
|
|
/* defaults to 3rem, which isn't long sufficient for "elizabeth" */
|
|
|
|
.cds--header__action.username-header-text {
|
|
|
|
width: 5rem;
|
|
|
|
}
|
|
|
|
|
2023-02-17 14:35:13 -05:00
|
|
|
.cds--header__action.spiff-environment-header-text {
|
|
|
|
width: 5rem;
|
|
|
|
color: #126d82;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--header__action.unclickable-text:hover {
|
|
|
|
background-color: #161616;
|
|
|
|
cursor: default;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-02-17 14:35:13 -05:00
|
|
|
.cds--header__action.unclickable-text:focus {
|
|
|
|
border: none;
|
|
|
|
box-shadow: none;
|
|
|
|
border-color: none;
|
|
|
|
}
|
|
|
|
|
2023-04-26 16:22:50 -04:00
|
|
|
.cds--loading__stroke {
|
2023-09-08 11:07:43 -04:00
|
|
|
stroke: rgb(128, 128, 128);
|
2023-04-26 16:22:50 -04:00
|
|
|
}
|
|
|
|
|
2023-03-02 08:34:15 -05:00
|
|
|
/* make this a little less prominent so the actual human beings completing tasks stand out */
|
|
|
|
.system-user-log-entry {
|
2023-12-13 10:50:26 -08:00
|
|
|
color: #b0b0b0;
|
2023-03-02 08:34:15 -05:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2023-12-18 14:23:51 -05:00
|
|
|
.selected-task-instance {
|
|
|
|
color: #b0b0b0;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2024-08-16 15:13:33 -04:00
|
|
|
.cds--white h1 {
|
2022-11-10 15:44:58 -05:00
|
|
|
font-weight: 400;
|
|
|
|
font-size: 28px;
|
|
|
|
line-height: 36px;
|
2023-12-13 10:50:26 -08:00
|
|
|
margin-bottom: 1rem;
|
2024-03-14 19:55:37 +00:00
|
|
|
letter-spacing: 0.00938em;
|
2022-11-10 15:44:58 -05:00
|
|
|
}
|
|
|
|
|
2024-08-16 15:13:33 -04:00
|
|
|
.cds--white h2 {
|
2022-11-18 13:57:40 -05:00
|
|
|
font-weight: 400;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
color: #161616;
|
|
|
|
}
|
|
|
|
|
2024-08-16 15:13:33 -04:00
|
|
|
.cds--white h3 {
|
2023-07-12 10:14:01 -04:00
|
|
|
font-weight: 400;
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 20px;
|
|
|
|
color: #161616;
|
|
|
|
}
|
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
.tag-within-dl {
|
2022-11-10 15:44:58 -05:00
|
|
|
color: black;
|
2023-09-07 10:12:13 -04:00
|
|
|
margin-left: -3px;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--btn.button-white-background {
|
|
|
|
color: #393939;
|
2023-12-13 10:50:26 -08:00
|
|
|
background: #ffffff;
|
2022-11-10 15:44:58 -05:00
|
|
|
background-blend-mode: multiply;
|
|
|
|
border: 1px solid #393939;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--btn.button-white-background:hover {
|
2022-11-16 15:43:11 -05:00
|
|
|
background: lightgrey;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
2022-11-10 15:44:58 -05:00
|
|
|
|
2024-03-21 16:00:52 +00:00
|
|
|
.spiff-breadcrumb .MuiBreadcrumbs-li a:hover {
|
2022-11-10 15:44:58 -05:00
|
|
|
color: #525252;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-03-21 16:00:52 +00:00
|
|
|
.spiff-breadcrumb .MuiBreadcrumbs-li a:visited {
|
2022-11-10 15:44:58 -05:00
|
|
|
color: #525252;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-03-21 16:00:52 +00:00
|
|
|
.spiff-breadcrumb .MuiBreadcrumbs-li a:visited:hover {
|
2022-11-10 15:44:58 -05:00
|
|
|
color: #525252;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-03-21 16:00:52 +00:00
|
|
|
.spiff-breadcrumb .MuiBreadcrumbs-li a {
|
2022-11-10 15:44:58 -05:00
|
|
|
color: #525252;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--btn--ghost {
|
|
|
|
color: black;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--btn--ghost:visited {
|
|
|
|
color: black;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--btn--ghost:hover {
|
|
|
|
color: black;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--btn--ghost:visited:hover {
|
2022-10-12 10:21:49 -04:00
|
|
|
color: black;
|
|
|
|
}
|
|
|
|
|
2022-11-30 15:08:04 -05:00
|
|
|
/* match normal link colors */
|
|
|
|
.cds--btn--ghost.button-link {
|
|
|
|
color: #0062fe;
|
2022-11-30 15:35:37 -05:00
|
|
|
padding-left: 0;
|
2022-11-30 15:08:04 -05:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-30 15:08:04 -05:00
|
|
|
.cds--btn--ghost.button-link:visited {
|
|
|
|
color: #0062fe;
|
2022-11-30 15:35:37 -05:00
|
|
|
padding-left: 0;
|
2022-11-30 15:08:04 -05:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-30 15:08:04 -05:00
|
|
|
.cds--btn--ghost.button-link:hover {
|
|
|
|
color: #0062fe;
|
2024-08-01 13:35:16 -04:00
|
|
|
background-color: transparent;
|
2022-11-30 15:35:37 -05:00
|
|
|
padding-left: 0;
|
2022-11-30 15:08:04 -05:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-30 15:08:04 -05:00
|
|
|
.cds--btn--ghost.button-link:visited:hover {
|
|
|
|
color: #0062fe;
|
2024-08-01 13:35:16 -04:00
|
|
|
background-color: transparent;
|
2022-11-30 15:35:37 -05:00
|
|
|
padding-left: 0;
|
2022-11-30 15:08:04 -05:00
|
|
|
}
|
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
/* make the colors black to make it easier to read */
|
|
|
|
.cds--btn--tertiary {
|
|
|
|
color: black;
|
|
|
|
border-color: black;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
.cds--btn--tertiary:visited {
|
|
|
|
color: black;
|
|
|
|
border-color: black;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
/* make the colors a little lighter black on hover
|
|
|
|
* so they match our normal scheme better
|
|
|
|
*/
|
|
|
|
.cds--btn--tertiary:focus {
|
2024-04-15 18:22:34 +00:00
|
|
|
color: #161616;
|
|
|
|
border-color: #161616;
|
|
|
|
background-color: #f4f4f4;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--btn--tertiary:hover {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #161616;
|
|
|
|
background-color: #f4f4f4;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--btn--tertiary:visited:hover {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #161616;
|
|
|
|
background-color: #f4f4f4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--btn--secondary {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #efefef;
|
|
|
|
background-color: #efefef;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--btn--secondary:visited {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #efefef;
|
|
|
|
background-color: #efefef;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--btn--secondary:focus {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #efefef;
|
|
|
|
background-color: #efefef;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--btn--secondary:hover {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #dddddd;
|
|
|
|
background-color: #dddddd;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--btn--secondary:visited:hover {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #dddddd;
|
|
|
|
background-color: #dddddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--modal-footer .cds--btn--secondary {
|
|
|
|
color: #ffffff;
|
2023-09-07 10:12:13 -04:00
|
|
|
border-color: #393939;
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--modal-footer .cds--btn--secondary:visited {
|
|
|
|
color: #ffffff;
|
|
|
|
border-color: #393939;
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--modal-footer .cds--btn--secondary:focus {
|
|
|
|
color: #ffffff;
|
|
|
|
border-color: #393939;
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--modal-footer .cds--btn--secondary:hover {
|
|
|
|
color: #ffffff;
|
2023-09-07 10:12:13 -04:00
|
|
|
border-color: #474747;
|
|
|
|
background-color: #474747;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-04-15 18:22:34 +00:00
|
|
|
.cds--modal-footer .cds--btn--secondary:visited:hover {
|
|
|
|
color: #ffffff;
|
2023-09-07 10:12:13 -04:00
|
|
|
border-color: #474747;
|
|
|
|
background-color: #474747;
|
|
|
|
}
|
|
|
|
|
2024-06-18 20:15:25 +01:00
|
|
|
/* position the close button at the top-right corner of the modal header */
|
|
|
|
.cds--modal-close {
|
|
|
|
position: absolute;
|
|
|
|
top: 1rem;
|
|
|
|
right: 1rem;
|
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--modal-close__icon {
|
|
|
|
fill: #161616;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--modal-footer .cds--btn--secondary {
|
|
|
|
color: #161616;
|
|
|
|
border-color: #e0e0e0;
|
|
|
|
background-color: #e0e0e0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--modal-footer .cds--btn--secondary:hover {
|
|
|
|
border-color: #c6c6c6;
|
|
|
|
background-color: #c6c6c6;
|
|
|
|
color: #161616;
|
|
|
|
}
|
|
|
|
|
2023-05-09 17:38:15 -04:00
|
|
|
.cds--header__global .cds--btn--primary.button-link {
|
2023-05-09 17:05:37 -04:00
|
|
|
color: #f4f4f4;
|
2023-05-09 17:38:15 -04:00
|
|
|
background-color: #393939;
|
2023-05-09 17:05:37 -04:00
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--header__global .cds--btn--primary {
|
2023-12-13 10:50:26 -08:00
|
|
|
background-color: #161616;
|
2022-11-10 15:44:58 -05:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--btn--primary {
|
|
|
|
background-color: #393939;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.cds--btn--primary:hover {
|
|
|
|
background-color: #474747;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
code {
|
|
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
2023-12-13 10:50:26 -08:00
|
|
|
monospace;
|
2022-11-10 15:44:58 -05:00
|
|
|
}
|
|
|
|
|
2022-10-12 10:21:49 -04:00
|
|
|
.app-logo {
|
2023-05-08 16:24:52 -04:00
|
|
|
height: 37px;
|
|
|
|
width: 152px;
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-top: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
2022-11-01 16:26:24 -04:00
|
|
|
.spiffworkflow-header-container {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 2rem;
|
2022-11-01 16:26:24 -04:00
|
|
|
}
|
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
.active-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
|
2022-10-12 10:21:49 -04:00
|
|
|
fill: yellow !important;
|
2023-12-13 10:50:26 -08:00
|
|
|
opacity: 0.6;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
.completed-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
|
2022-10-12 10:21:49 -04:00
|
|
|
fill: grey !important;
|
2023-12-13 10:50:26 -08:00
|
|
|
opacity: 0.4;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
.cancelled-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
|
2023-04-12 13:22:10 -04:00
|
|
|
fill: blue !important;
|
2023-12-13 10:50:26 -08:00
|
|
|
opacity: 0.2;
|
2023-04-12 13:22:10 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
.errored-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
|
2023-04-20 11:49:34 -04:00
|
|
|
fill: red !important;
|
2023-12-13 10:50:26 -08:00
|
|
|
opacity: 0.2;
|
2023-04-20 11:49:34 -04:00
|
|
|
}
|
2022-10-12 10:21:49 -04:00
|
|
|
|
2022-11-07 17:32:29 -05:00
|
|
|
.accordion-item-label {
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2024-03-21 16:00:52 +00:00
|
|
|
.MuiBreadcrumbs-root.spiff-breadcrumb {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 2rem;
|
2022-11-08 17:20:17 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.process-description {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 2rem;
|
2022-11-08 17:20:17 -05:00
|
|
|
}
|
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
h1.with-icons {
|
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
|
2024-06-10 16:15:54 +00:00
|
|
|
h3.with-icons {
|
|
|
|
margin-top: 12px;
|
|
|
|
}
|
|
|
|
|
2023-09-20 11:14:20 -04:00
|
|
|
.with-icons {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.readme-container {
|
|
|
|
max-width: 640px;
|
|
|
|
}
|
|
|
|
|
2023-07-03 23:59:46 -04:00
|
|
|
dl {
|
2023-07-06 16:38:44 -04:00
|
|
|
display: block;
|
|
|
|
grid-template-columns: 35% 65%;
|
2023-09-07 10:12:13 -04:00
|
|
|
font-size: 14px;
|
2023-07-06 16:38:44 -04:00
|
|
|
line-height: 1.2rem;
|
2023-09-07 10:12:13 -04:00
|
|
|
padding-top: 9px;
|
2023-07-03 23:59:46 -04:00
|
|
|
}
|
|
|
|
|
2023-07-06 16:38:44 -04:00
|
|
|
dl dt {
|
|
|
|
display: inline-block;
|
2022-11-10 15:44:58 -05:00
|
|
|
font-weight: 600;
|
2023-09-07 10:10:44 -04:00
|
|
|
min-width: 6rem;
|
2022-11-10 15:44:58 -05:00
|
|
|
color: #161616;
|
2023-07-06 16:38:44 -04:00
|
|
|
}
|
2023-07-03 23:59:46 -04:00
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
dl.metadata-display dt {
|
|
|
|
width: 7rem;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
2023-07-06 16:38:44 -04:00
|
|
|
dl dd {
|
|
|
|
display: inline-block;
|
|
|
|
padding-left: 1rem;
|
|
|
|
color: #525252;
|
2022-11-10 15:44:58 -05:00
|
|
|
}
|
2023-07-03 23:59:46 -04:00
|
|
|
|
2022-11-10 15:44:58 -05:00
|
|
|
.smaller-text {
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2022-10-12 10:21:49 -04:00
|
|
|
.diagram-editor-canvas {
|
2023-12-13 10:50:26 -08:00
|
|
|
border: 1px solid #000000;
|
|
|
|
height: 78vh;
|
|
|
|
width: 90vw;
|
2023-07-03 23:59:46 -04:00
|
|
|
margin: 0 auto;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
2022-11-01 16:26:24 -04:00
|
|
|
.with-bottom-margin {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 1rem;
|
2022-11-01 16:26:24 -04:00
|
|
|
}
|
|
|
|
|
2023-05-10 09:33:21 -04:00
|
|
|
.user-profile-toggletip-content {
|
2023-05-09 17:38:15 -04:00
|
|
|
background-color: #393939;
|
|
|
|
color: #f4f4f4;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-top: -20px;
|
|
|
|
}
|
2023-05-09 22:40:48 -04:00
|
|
|
|
2023-05-10 09:33:21 -04:00
|
|
|
#user-profile-toggletip {
|
2023-05-09 17:38:15 -04:00
|
|
|
margin-top: 8px;
|
2023-05-10 09:33:21 -04:00
|
|
|
margin-right: 12px;
|
2023-05-09 17:05:37 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-05-10 09:33:21 -04:00
|
|
|
#user-profile-toggletip .cds--popover-content::before {
|
2023-05-09 17:38:15 -04:00
|
|
|
content: none;
|
|
|
|
}
|
2023-05-09 17:05:37 -04:00
|
|
|
|
2023-05-10 09:33:21 -04:00
|
|
|
#user-profile-toggletip .cds--popover--bottom-right .cds--popover-content {
|
2023-05-09 22:40:48 -04:00
|
|
|
bottom: 11px;
|
2023-05-10 22:58:12 -04:00
|
|
|
right: -5px;
|
2023-05-09 22:55:56 -04:00
|
|
|
border-radius: 5px;
|
|
|
|
border: 3px solid black;
|
2023-05-09 22:40:48 -04:00
|
|
|
}
|
|
|
|
|
2023-05-10 09:33:21 -04:00
|
|
|
#user-profile-toggletip .cds--popover-caret {
|
2023-05-09 22:40:48 -04:00
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2023-05-10 09:33:21 -04:00
|
|
|
.user-profile-toggletip-button:hover {
|
2023-05-09 17:05:37 -04:00
|
|
|
background-color: #161616;
|
|
|
|
}
|
|
|
|
|
2023-05-10 09:33:21 -04:00
|
|
|
#user-profile-toggletip .cds--popover--tab-tip__button::after {
|
2023-05-09 17:05:37 -04:00
|
|
|
content: none;
|
|
|
|
}
|
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
#user-profile-toggletip
|
|
|
|
.cds--popover--tab-tip.cds--popover--open
|
|
|
|
.cds--popover--tab-tip__button {
|
2023-05-09 17:05:37 -04:00
|
|
|
background-color: #161616;
|
|
|
|
}
|
|
|
|
|
2022-11-25 10:56:44 -05:00
|
|
|
.with-top-margin {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-top: 1rem;
|
2022-11-25 10:56:44 -05:00
|
|
|
}
|
|
|
|
|
2022-12-05 14:07:26 -05:00
|
|
|
.with-extra-top-margin {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-top: 1.3rem;
|
2022-12-05 14:07:26 -05:00
|
|
|
}
|
|
|
|
|
2023-01-24 11:35:30 -05:00
|
|
|
.with-top-margin-for-label-next-to-text-input {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-top: 2.3rem;
|
2023-01-24 11:35:30 -05:00
|
|
|
}
|
|
|
|
|
2022-12-01 14:46:09 -05:00
|
|
|
.with-tiny-top-margin {
|
|
|
|
margin-top: 4px;
|
|
|
|
}
|
|
|
|
|
2023-06-08 17:26:14 -04:00
|
|
|
.with-top-margin-for-unit-test-name {
|
|
|
|
margin-top: 11px;
|
|
|
|
}
|
|
|
|
|
2022-11-25 10:23:00 -05:00
|
|
|
.with-large-bottom-margin {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 3rem;
|
2022-11-25 10:23:00 -05:00
|
|
|
}
|
|
|
|
|
2022-12-02 10:32:40 -05:00
|
|
|
.with-tiny-bottom-margin {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
2023-07-12 10:14:01 -04:00
|
|
|
.with-half-rem-bottom-margin {
|
2023-12-13 10:50:26 -08:00
|
|
|
margin-bottom: 0.5rem;
|
2023-07-12 10:14:01 -04:00
|
|
|
}
|
|
|
|
|
2023-09-19 07:37:05 -04:00
|
|
|
.with-half-rem-top-margin {
|
2023-12-13 10:50:26 -08:00
|
|
|
margin-top: 0.5rem;
|
2023-09-19 07:37:05 -04:00
|
|
|
}
|
|
|
|
|
2022-10-12 10:21:49 -04:00
|
|
|
.diagram-viewer-canvas {
|
2023-12-13 10:50:26 -08:00
|
|
|
border: 1px solid #000000;
|
|
|
|
height: 70vh;
|
|
|
|
width: 90vw;
|
|
|
|
margin: auto;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.container .nav-tabs {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-top: 1rem;
|
2022-10-12 10:21:49 -04:00
|
|
|
}
|
2022-10-12 16:03:28 -04:00
|
|
|
|
|
|
|
/* Markdown Tables */
|
|
|
|
.markdown table {
|
|
|
|
color: #333;
|
|
|
|
background: white;
|
|
|
|
font-size: 12pt;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-10-12 16:03:28 -04:00
|
|
|
.markdown table thead th,
|
|
|
|
.markdown table tfoot th {
|
|
|
|
color: #777;
|
2023-12-13 10:50:26 -08:00
|
|
|
background: rgba(0, 0, 0, 0.1);
|
2022-10-12 16:03:28 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-10-12 16:03:28 -04:00
|
|
|
.markdown table th,
|
|
|
|
.markdown table td {
|
2023-12-13 10:50:26 -08:00
|
|
|
padding: 0.5rem;
|
2022-10-12 16:03:28 -04:00
|
|
|
border: 1px solid lightgrey;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-10-12 16:03:28 -04:00
|
|
|
/* Zebra Table Style */
|
|
|
|
.markdown tbody tr:nth-of-type(odd) {
|
2023-12-13 10:50:26 -08:00
|
|
|
background: rgba(0, 0, 0, 0.05);
|
2022-10-12 16:03:28 -04:00
|
|
|
}
|
2022-10-19 15:17:20 -04:00
|
|
|
|
2023-01-13 16:55:34 -05:00
|
|
|
.form-instructions {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 10rem;
|
2023-01-13 16:55:34 -05:00
|
|
|
}
|
|
|
|
|
2022-10-19 15:17:20 -04:00
|
|
|
/* Json Web Form CSS Fix - Bootstrap now requries that each li have a "list-inline-item." Also have a PR
|
2022-11-18 12:42:08 -05:00
|
|
|
in on this with the react-jsonschema-form repo. This is just a patch fix to allow date inputs to layout a little more cleanly */
|
2024-08-01 13:35:16 -04:00
|
|
|
.list-inline > li {
|
2022-10-19 15:17:20 -04:00
|
|
|
display: inline-block;
|
|
|
|
padding-right: 5px;
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2022-11-18 12:42:08 -05:00
|
|
|
|
2024-01-24 10:15:08 -05:00
|
|
|
.cds--tile.tile-data-store {
|
|
|
|
padding: 0px;
|
|
|
|
margin: 12px 24px 12px 0px;
|
|
|
|
width: 320px;
|
|
|
|
height: 264px;
|
|
|
|
background: #f4f4f4;
|
|
|
|
order: 1;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tile-data-store-content-container {
|
|
|
|
width: 320px;
|
|
|
|
height: 264px;
|
|
|
|
padding: 1rem;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tile-data-store-display-name {
|
|
|
|
margin-top: 2rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
color: #161616;
|
|
|
|
order: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-18 12:42:08 -05:00
|
|
|
.cds--tile.tile-process-group {
|
|
|
|
padding: 0px;
|
2023-09-07 10:12:13 -04:00
|
|
|
margin: 12px 24px 12px 0px;
|
Feature/interstitial summary part 3 (#367)
* throw an error if backend gives a 500 from interstitial page w/ burnettk
* turn unexpected errors for the interstitial page into event stream responses to avoid error misdirection
* pyl
* raise the api_error from the original and make the render_data method private
* Feature/interstitial summary (#337)
* * Process instance logs and messages are now components rather than pages, and are included within tabs on the process instance page, along with the diagram.
* Removed the Zoom and Move modules when showing the readonly
Diagram. Assured this readonly view is resized to fit the space when possible.
* Checkbox Widget no longer displays a duplicate label.
* CSS Tweaks
* All pages are limited to a max display width of 1440, with auto margins to center the main content on the page.
* "Show" pages, like ProcessInstanceShow, TaskShow have the primary content limited to 1000, also with auto-margins.
* Paragraphs, headings, blockquotes, list items are limited to a width of 640.
* Reduced margin bottom on all breadcrumbs.
* Slightly reduced the width and margin of tiles
* ordered lists and unordered lists show numbers and bullets now.
* End user Instructions component can, optionally, auto-collapse, so that only a portion is displayed, along with a toggle. This is how it is set up for the ProcessInstanceShow page.
* Greatly reduced the lag in the interstitial page when doing a re-direct.
* run_pyl
* kill console
* wait for permissionsLoaded too since we are using ability.can
* Previous change removed the top level Messages page - this re-adds it.
* I am always, ALWAYS shocked at how I can not wrap my head around when and where to use "useEffect".
This should cause the show/hide Instructions toggle to only show when useful.
* Minor cleanup on the process instance properties display.
* linting
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* Fix a linting error.
* minor permissions related fixes for the new ui.
* Revert "Revert "Feature/better subworkflow management (#331)""
This reverts commit 48dcde8faf00241201c515b54444fe9fb373c7f4.
* do not execute tasks from the process instance show page w/ burnettk
* pyl w/ burnettk
* Very minor UI tweak to resolve a number of issues mentioned in SPIFF-316 Notion Ticket:
* Markdown links now open in a new window
* Tables on the home pages are now contained within Grids to better align them with the other content that is in a grid.
* Right aligned the "process instance list link" button to it is flush right with the table underneath
* Gave a little more breathing room the content on the info/metadata in the process instance view .
* updated docker image build action to contain the appropriate version info w/ burnettk
* properly resize to the available columns depending on s/m/l
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Dan Funk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-03 01:24:54 -04:00
|
|
|
width: 320px;
|
2022-11-18 12:42:08 -05:00
|
|
|
height: 264px;
|
2023-12-13 10:50:26 -08:00
|
|
|
background: #f4f4f4;
|
2022-11-18 12:42:08 -05:00
|
|
|
order: 1;
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tile-process-group-content-container {
|
Feature/interstitial summary part 3 (#367)
* throw an error if backend gives a 500 from interstitial page w/ burnettk
* turn unexpected errors for the interstitial page into event stream responses to avoid error misdirection
* pyl
* raise the api_error from the original and make the render_data method private
* Feature/interstitial summary (#337)
* * Process instance logs and messages are now components rather than pages, and are included within tabs on the process instance page, along with the diagram.
* Removed the Zoom and Move modules when showing the readonly
Diagram. Assured this readonly view is resized to fit the space when possible.
* Checkbox Widget no longer displays a duplicate label.
* CSS Tweaks
* All pages are limited to a max display width of 1440, with auto margins to center the main content on the page.
* "Show" pages, like ProcessInstanceShow, TaskShow have the primary content limited to 1000, also with auto-margins.
* Paragraphs, headings, blockquotes, list items are limited to a width of 640.
* Reduced margin bottom on all breadcrumbs.
* Slightly reduced the width and margin of tiles
* ordered lists and unordered lists show numbers and bullets now.
* End user Instructions component can, optionally, auto-collapse, so that only a portion is displayed, along with a toggle. This is how it is set up for the ProcessInstanceShow page.
* Greatly reduced the lag in the interstitial page when doing a re-direct.
* run_pyl
* kill console
* wait for permissionsLoaded too since we are using ability.can
* Previous change removed the top level Messages page - this re-adds it.
* I am always, ALWAYS shocked at how I can not wrap my head around when and where to use "useEffect".
This should cause the show/hide Instructions toggle to only show when useful.
* Minor cleanup on the process instance properties display.
* linting
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* Fix a linting error.
* minor permissions related fixes for the new ui.
* Revert "Revert "Feature/better subworkflow management (#331)""
This reverts commit 48dcde8faf00241201c515b54444fe9fb373c7f4.
* do not execute tasks from the process instance show page w/ burnettk
* pyl w/ burnettk
* Very minor UI tweak to resolve a number of issues mentioned in SPIFF-316 Notion Ticket:
* Markdown links now open in a new window
* Tables on the home pages are now contained within Grids to better align them with the other content that is in a grid.
* Right aligned the "process instance list link" button to it is flush right with the table underneath
* Gave a little more breathing room the content on the info/metadata in the process instance view .
* updated docker image build action to contain the appropriate version info w/ burnettk
* properly resize to the available columns depending on s/m/l
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Dan Funk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-03 01:24:54 -04:00
|
|
|
width: 320px;
|
2022-11-18 12:42:08 -05:00
|
|
|
height: 264px;
|
2023-07-12 10:14:01 -04:00
|
|
|
padding: 1rem;
|
2022-11-18 12:42:08 -05:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tile-process-group-display-name {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-top: 2rem;
|
|
|
|
margin-bottom: 1rem;
|
2022-11-18 12:42:08 -05:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
color: #161616;
|
|
|
|
order: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-18 16:40:49 -05:00
|
|
|
.tile-title-top {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 2rem;
|
2022-11-18 16:40:49 -05:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
color: #161616;
|
|
|
|
order: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tile-description {
|
2022-11-18 12:42:08 -05:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
letter-spacing: 0.16px;
|
|
|
|
color: #161616;
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tile-process-group-children-count {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 20px;
|
|
|
|
letter-spacing: 0.16px;
|
|
|
|
color: #161616;
|
|
|
|
order: 1;
|
2022-11-18 16:40:49 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.tile-pin-bottom {
|
2022-11-18 12:42:08 -05:00
|
|
|
position: absolute;
|
2023-07-12 10:14:01 -04:00
|
|
|
bottom: 1rem;
|
2022-11-18 12:42:08 -05:00
|
|
|
}
|
2022-11-22 14:40:16 -05:00
|
|
|
|
|
|
|
.cds--tabs .cds--tabs__nav-link {
|
|
|
|
max-width: 20rem;
|
|
|
|
}
|
2022-11-22 15:09:42 -05:00
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
/* carbon wants padding on all sides. our UI person wanted everything leaning against the left wall. */
|
|
|
|
.cds--tab-content {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
2022-11-22 15:09:42 -05:00
|
|
|
.clear-left {
|
|
|
|
clear: left;
|
|
|
|
}
|
2022-11-22 16:21:16 -05:00
|
|
|
|
|
|
|
td.actions-cell {
|
2023-07-12 10:14:01 -04:00
|
|
|
width: 1rem;
|
2022-11-22 16:21:16 -05:00
|
|
|
}
|
2022-11-23 16:26:02 -05:00
|
|
|
|
2023-07-06 00:11:18 -04:00
|
|
|
.process-instance-list-table {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-07-06 16:38:44 -04:00
|
|
|
.process-instance-list-table button.button-tag {
|
|
|
|
max-width: calc(100% - 1rem);
|
|
|
|
}
|
2023-07-06 00:11:18 -04:00
|
|
|
|
2023-04-13 16:36:46 -04:00
|
|
|
.process-instance-table-header {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 1rem;
|
2023-04-13 16:36:46 -04:00
|
|
|
}
|
|
|
|
|
2022-11-23 16:26:02 -05:00
|
|
|
.no-results-message {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2023-12-13 10:50:26 -08:00
|
|
|
th.table-header-right-align .cds--data-table,
|
|
|
|
th.table-header-right-align .cds--table-header-label {
|
2023-09-07 10:12:13 -04:00
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
2022-11-23 16:26:02 -05:00
|
|
|
.data-table-description {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
|
|
|
letter-spacing: 0.16px;
|
|
|
|
color: #525252;
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 1rem;
|
2022-11-23 16:26:02 -05:00
|
|
|
}
|
2022-11-25 10:56:44 -05:00
|
|
|
|
2023-07-17 12:44:10 -04:00
|
|
|
.filter-icon {
|
2022-11-25 11:55:37 -05:00
|
|
|
text-align: right;
|
|
|
|
padding-bottom: 10px;
|
2023-09-07 10:12:13 -04:00
|
|
|
margin-right: 0px;
|
2022-11-25 11:55:37 -05:00
|
|
|
}
|
2022-11-30 15:35:37 -05:00
|
|
|
|
2023-05-22 17:36:07 -04:00
|
|
|
.cds--btn--ghost:not([disabled]).red-icon svg {
|
|
|
|
fill: red;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-05-22 17:36:07 -04:00
|
|
|
.cds--btn--ghost:not([disabled]).green-icon svg {
|
|
|
|
fill: #198038;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2022-11-30 17:20:34 -05:00
|
|
|
.cds--btn--ghost:not([disabled]) svg.red-icon {
|
2022-11-30 15:35:37 -05:00
|
|
|
fill: red;
|
|
|
|
}
|
|
|
|
|
2022-12-08 12:28:23 -05:00
|
|
|
svg.green-icon {
|
|
|
|
fill: #198038;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg.notification-icon {
|
|
|
|
margin-right: 1rem;
|
|
|
|
}
|
|
|
|
|
2022-11-30 15:35:37 -05:00
|
|
|
.failure-string {
|
|
|
|
color: red;
|
|
|
|
}
|
2022-11-30 17:20:34 -05:00
|
|
|
|
2023-07-03 23:59:46 -04:00
|
|
|
.filter-tag {
|
|
|
|
justify-content: left;
|
|
|
|
width: 100%;
|
2023-07-17 12:44:10 -04:00
|
|
|
height: 2rem;
|
2023-07-03 23:59:46 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
.filter-tag > span {
|
2023-07-03 23:59:46 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
.filter-tag > span > span {
|
2023-07-03 23:59:46 -04:00
|
|
|
margin-right: 0.5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--btn--ghost.cds--btn--sm.button-tag {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2023-07-17 12:44:10 -04:00
|
|
|
padding-top: 0px;
|
2023-07-03 23:59:46 -04:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
2022-11-30 17:20:34 -05:00
|
|
|
.cds--btn--ghost.cds--btn--sm.button-tag-icon {
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
2023-07-17 12:44:10 -04:00
|
|
|
padding-top: 0px;
|
2022-11-30 17:20:34 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/* .no-wrap cds--label cds--label--inline cds--label--inline--md{ */
|
2023-12-13 10:50:26 -08:00
|
|
|
.no-wrap .cds--label--inline {
|
2022-11-30 17:20:34 -05:00
|
|
|
word-break: normal;
|
|
|
|
}
|
2022-12-01 14:46:09 -05:00
|
|
|
|
2022-12-30 13:59:52 -05:00
|
|
|
.vertical-spacer-to-allow-combo-box-to-expand-in-modal {
|
|
|
|
height: 250px;
|
2022-12-01 14:46:09 -05:00
|
|
|
}
|
2022-12-02 13:47:04 -05:00
|
|
|
|
|
|
|
.cds--btn.narrow-button {
|
|
|
|
max-width: 10rem;
|
|
|
|
min-width: 5rem;
|
|
|
|
word-break: normal;
|
2023-06-13 10:46:26 -04:00
|
|
|
}
|
2022-12-02 13:47:04 -05:00
|
|
|
|
2023-06-13 10:46:26 -04:00
|
|
|
/* make this the same width as the carbon datePickerItem element
|
|
|
|
* so the calendar icon stays on the input box.
|
|
|
|
* CLASS: cds--date-picker-input__wrapper
|
|
|
|
*/
|
|
|
|
.cds--date-picker-container .cds--form__helper-text {
|
|
|
|
width: 18rem;
|
2022-12-02 13:47:04 -05:00
|
|
|
}
|
2022-12-05 14:07:26 -05:00
|
|
|
|
2022-12-08 12:28:23 -05:00
|
|
|
/* lime green */
|
2022-12-05 14:07:26 -05:00
|
|
|
.tag-type-green:hover {
|
2023-12-13 10:50:26 -08:00
|
|
|
background-color: #80ee90;
|
2022-12-05 14:07:26 -05:00
|
|
|
}
|
2023-01-19 12:36:45 -05:00
|
|
|
|
2023-09-12 15:39:32 -04:00
|
|
|
/* reset to initial modal css and avoid table specific css */
|
|
|
|
.modal-within-table-cell .cds--modal-container {
|
|
|
|
text-align: left;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-12 15:39:32 -04:00
|
|
|
.modal-within-table-cell .cds--modal-container button {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
|
|
|
|
2023-01-19 12:36:45 -05:00
|
|
|
/* Errors and notifications */
|
|
|
|
.error_info .error_title {
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: lighter;
|
|
|
|
width: 100px;
|
|
|
|
text-align: right;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2023-03-20 12:13:28 -04:00
|
|
|
|
2023-09-18 11:22:29 -04:00
|
|
|
.error_info_small {
|
|
|
|
font-size: 0.8em;
|
|
|
|
color: #550000;
|
|
|
|
}
|
|
|
|
|
2023-03-20 12:13:28 -04:00
|
|
|
.please-press-filter-button {
|
2023-07-12 10:14:01 -04:00
|
|
|
margin-bottom: 1rem;
|
2023-03-20 12:13:28 -04:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
2023-04-26 16:22:50 -04:00
|
|
|
|
Feature/interstitial summary part 3 (#367)
* throw an error if backend gives a 500 from interstitial page w/ burnettk
* turn unexpected errors for the interstitial page into event stream responses to avoid error misdirection
* pyl
* raise the api_error from the original and make the render_data method private
* Feature/interstitial summary (#337)
* * Process instance logs and messages are now components rather than pages, and are included within tabs on the process instance page, along with the diagram.
* Removed the Zoom and Move modules when showing the readonly
Diagram. Assured this readonly view is resized to fit the space when possible.
* Checkbox Widget no longer displays a duplicate label.
* CSS Tweaks
* All pages are limited to a max display width of 1440, with auto margins to center the main content on the page.
* "Show" pages, like ProcessInstanceShow, TaskShow have the primary content limited to 1000, also with auto-margins.
* Paragraphs, headings, blockquotes, list items are limited to a width of 640.
* Reduced margin bottom on all breadcrumbs.
* Slightly reduced the width and margin of tiles
* ordered lists and unordered lists show numbers and bullets now.
* End user Instructions component can, optionally, auto-collapse, so that only a portion is displayed, along with a toggle. This is how it is set up for the ProcessInstanceShow page.
* Greatly reduced the lag in the interstitial page when doing a re-direct.
* run_pyl
* kill console
* wait for permissionsLoaded too since we are using ability.can
* Previous change removed the top level Messages page - this re-adds it.
* I am always, ALWAYS shocked at how I can not wrap my head around when and where to use "useEffect".
This should cause the show/hide Instructions toggle to only show when useful.
* Minor cleanup on the process instance properties display.
* linting
---------
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
* Fix a linting error.
* minor permissions related fixes for the new ui.
* Revert "Revert "Feature/better subworkflow management (#331)""
This reverts commit 48dcde8faf00241201c515b54444fe9fb373c7f4.
* do not execute tasks from the process instance show page w/ burnettk
* pyl w/ burnettk
* Very minor UI tweak to resolve a number of issues mentioned in SPIFF-316 Notion Ticket:
* Markdown links now open in a new window
* Tables on the home pages are now contained within Grids to better align them with the other content that is in a grid.
* Right aligned the "process instance list link" button to it is flush right with the table underneath
* Gave a little more breathing room the content on the info/metadata in the process instance view .
* updated docker image build action to contain the appropriate version info w/ burnettk
* properly resize to the available columns depending on s/m/l
---------
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
Co-authored-by: Dan Funk <daniel.h.funk@gmail.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-07-03 01:24:54 -04:00
|
|
|
.user_instructions {
|
|
|
|
filter: opacity(1);
|
|
|
|
font-size: 1.2em;
|
|
|
|
margin: 15px 0;
|
|
|
|
}
|
2023-04-26 18:10:02 -04:00
|
|
|
|
|
|
|
.user_instructions_0 {
|
|
|
|
filter: opacity(1);
|
2023-07-12 10:14:01 -04:00
|
|
|
font-size: 1.2rem;
|
2023-05-16 15:26:48 -04:00
|
|
|
margin-bottom: 30px;
|
2023-04-26 18:10:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.user_instructions_1 {
|
2023-04-26 21:27:52 -04:00
|
|
|
filter: opacity(60%);
|
2023-07-12 10:14:01 -04:00
|
|
|
font-size: 1.1rem;
|
2023-04-26 18:10:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.user_instructions_2 {
|
2023-04-26 21:27:52 -04:00
|
|
|
filter: opacity(40%);
|
2023-07-12 10:14:01 -04:00
|
|
|
font-size: 1rem;
|
2023-04-26 18:10:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.user_instructions_3 {
|
2023-04-26 21:27:52 -04:00
|
|
|
filter: opacity(20%);
|
2023-07-12 10:14:01 -04:00
|
|
|
font-size: 9rem;
|
2023-04-26 18:10:02 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.user_instructions_4 {
|
2023-04-26 19:15:15 -04:00
|
|
|
filter: opacity(10%);
|
2023-07-12 10:14:01 -04:00
|
|
|
font-size: 8rem;
|
2023-04-26 18:10:02 -04:00
|
|
|
}
|
2023-05-01 12:25:22 -04:00
|
|
|
|
|
|
|
.float-right {
|
|
|
|
float: right;
|
|
|
|
}
|
2023-05-03 17:36:43 -04:00
|
|
|
|
|
|
|
.user-list {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2023-05-04 12:44:04 -04:00
|
|
|
margin-left: 8px;
|
2023-05-03 17:36:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: #fff;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2023-05-09 17:05:37 -04:00
|
|
|
.user-circle-for-list {
|
|
|
|
margin-right: 10px;
|
2023-05-03 17:36:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Randomize color assignment */
|
|
|
|
.user-circle:nth-child(1) {
|
|
|
|
background-color: #8e8e8e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(2) {
|
|
|
|
background-color: #a57c63;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(3) {
|
|
|
|
background-color: #8f7c7c;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(4) {
|
|
|
|
background-color: #9a927f;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(5) {
|
|
|
|
background-color: #5e5d5d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(6) {
|
|
|
|
background-color: #676767;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(7) {
|
|
|
|
background-color: #6d7d6d;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(8) {
|
|
|
|
background-color: #7a7171;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-circle:nth-child(9) {
|
|
|
|
background-color: #837d63;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Default to first color if more than 10 users */
|
2023-12-13 10:50:26 -08:00
|
|
|
.user-circle:nth-child(n + 11) {
|
2023-05-03 17:36:43 -04:00
|
|
|
background-color: #8e8e8e;
|
|
|
|
}
|
2023-05-12 17:07:53 -04:00
|
|
|
|
|
|
|
.version-info-column {
|
|
|
|
width: 50%;
|
|
|
|
}
|
2023-06-09 11:50:42 -04:00
|
|
|
|
|
|
|
/* From bootstrap _reboot.scss, people got used to this when we
|
|
|
|
* had the bootstrap stylesheets, and they liked it.
|
|
|
|
* Otherwise, the hr in the user profile dropdown shows up as a dot
|
|
|
|
* and from markdown it's a little darker.
|
|
|
|
*/
|
|
|
|
hr {
|
2023-12-13 10:50:26 -08:00
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid;
|
|
|
|
color: inherit;
|
|
|
|
margin: 1rem 0;
|
|
|
|
opacity: 0.25;
|
2023-06-09 11:50:42 -04:00
|
|
|
}
|
2023-06-12 06:42:30 -07:00
|
|
|
|
|
|
|
.primary-file-text-suffix {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
2023-06-28 12:53:39 -04:00
|
|
|
|
2023-07-12 10:14:01 -04:00
|
|
|
.modal-dropdown {
|
|
|
|
height: 20rem;
|
2023-09-08 11:07:43 -04:00
|
|
|
width: auto;
|
2023-07-12 10:14:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.task-data-details-header {
|
|
|
|
margin-top: 1.5rem;
|
2023-12-13 10:50:26 -08:00
|
|
|
margin-bottom: 0.5rem;
|
2023-07-12 10:14:01 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.explanatory-message {
|
|
|
|
font-style: italic;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.indented-content {
|
|
|
|
margin-left: 1rem;
|
|
|
|
}
|
|
|
|
|
2024-06-18 14:25:02 -04:00
|
|
|
.hidden-form-for-autosave {
|
2023-06-28 12:53:39 -04:00
|
|
|
display: none;
|
|
|
|
}
|
2023-09-07 10:12:13 -04:00
|
|
|
|
2023-09-08 11:07:43 -04:00
|
|
|
div.json-schema {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
2023-09-07 12:04:10 -04:00
|
|
|
.my-completed-forms-header {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
fieldset legend.header {
|
2024-06-18 20:15:25 +01:00
|
|
|
margin-bottom: 16px;
|
2023-09-07 10:12:13 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
fieldset fieldset fieldset legend.header {
|
|
|
|
margin-bottom: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fixed-width-container {
|
|
|
|
margin: auto;
|
|
|
|
justify-content: center;
|
|
|
|
overflow: visible;
|
|
|
|
/* border: 1px solid black; */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* media min-width 75 means: do the stuff in the block if the browser width is greater than 75 */
|
|
|
|
@media (min-width: 75rem) {
|
|
|
|
.fixed-width-container {
|
|
|
|
max-width: 75rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-16 15:13:33 -04:00
|
|
|
.limited-width-for-readability,
|
2023-12-13 10:50:26 -08:00
|
|
|
p,
|
|
|
|
li,
|
|
|
|
blockquote,
|
|
|
|
hr {
|
2023-09-07 10:12:13 -04:00
|
|
|
max-width: 640px;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2024-08-17 16:00:43 +00:00
|
|
|
.cds--white h1,
|
|
|
|
.cds--white h2,
|
|
|
|
.cds--white h3,
|
|
|
|
.cds--white h4,
|
|
|
|
.cds--white h5,
|
|
|
|
.cds--white h6 {
|
|
|
|
max-width: 640px;
|
|
|
|
}
|
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
li.cds--accordion__item {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2024-01-26 11:41:07 -05:00
|
|
|
.process-model-search-combobox li {
|
2023-12-21 09:33:03 -05:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
div.markdown {
|
|
|
|
padding: 15px 0 15px 0;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.markdown-collapsed {
|
|
|
|
max-height: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
|
2024-08-01 13:35:16 -04:00
|
|
|
--mask: linear-gradient(
|
|
|
|
to bottom,
|
2023-12-13 10:50:26 -08:00
|
|
|
rgba(0, 0, 0, 1) 0,
|
|
|
|
rgba(0, 0, 0, 1) 40%,
|
|
|
|
rgba(0, 0, 0, 0) 95%,
|
2024-08-01 13:35:16 -04:00
|
|
|
rgba(0, 0, 0, 0) 0
|
|
|
|
)
|
|
|
|
100% 50% / 100% 100% repeat-x;
|
2023-09-07 10:12:13 -04:00
|
|
|
|
|
|
|
font: 2em/1.6em Arial;
|
|
|
|
-webkit-mask: var(--mask);
|
|
|
|
mask: var(--mask);
|
|
|
|
}
|
|
|
|
|
|
|
|
.cds--data-table-content {
|
2023-09-07 13:48:01 -04:00
|
|
|
overflow-x: auto;
|
2023-09-07 10:12:13 -04:00
|
|
|
}
|
|
|
|
|
2024-08-16 15:13:33 -04:00
|
|
|
.MuiContainer-root .wmde-markdown {
|
|
|
|
background-color: inherit;
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
.wmde-markdown table {
|
|
|
|
width: fit-content;
|
2023-09-07 13:48:01 -04:00
|
|
|
overflow: auto;
|
2023-09-07 10:12:13 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
/* override carbon variable so we can left align accordions*/
|
|
|
|
.cds--accordion {
|
|
|
|
--cds-layout-density-padding-inline-local: 0px;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-07 10:12:13 -04:00
|
|
|
.megacondensed-button .cds--btn {
|
|
|
|
--cds-layout-density-padding-inline-local: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmde-markdown ol {
|
|
|
|
list-style: decimal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wmde-markdown ul {
|
|
|
|
list-style: disc;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.cds--tag svg {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.onboarding {
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
}
|
2023-09-20 16:03:58 -04:00
|
|
|
|
2023-09-21 08:00:14 -04:00
|
|
|
/* makde the completed user form modal more readable */
|
|
|
|
.completed-task-modal .cds--modal-container {
|
2023-12-13 10:50:26 -08:00
|
|
|
background-color: #ffffff;
|
2023-09-20 16:03:58 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-21 08:00:14 -04:00
|
|
|
.completed-task-modal .cds--text-input:disabled,
|
|
|
|
.completed-task-modal .cds--text-area:disabled,
|
|
|
|
.completed-task-modal .cds--date-picker__input:disabled,
|
|
|
|
.completed-task-modal .cds--select-input:disabled,
|
|
|
|
.completed-task-modal .cds--select-input:hover:disabled {
|
2023-12-13 10:50:26 -08:00
|
|
|
--cds-text-disabled: rgba(22, 22, 22, 0.5);
|
|
|
|
background-color: var(--cds-field);
|
2023-09-21 08:00:14 -04:00
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-21 08:00:14 -04:00
|
|
|
.completed-task-modal .cds--form__helper-text--disabled {
|
2023-12-13 10:50:26 -08:00
|
|
|
--cds-text-disabled: rgba(22, 22, 22, 0.5);
|
2023-09-21 08:00:14 -04:00
|
|
|
}
|
2023-09-27 12:00:09 -04:00
|
|
|
|
|
|
|
.process-model-file-table {
|
|
|
|
width: 100%;
|
|
|
|
table-layout: fixed;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
2024-06-18 20:15:25 +01:00
|
|
|
|
2023-09-27 12:00:09 -04:00
|
|
|
.process-model-file-table-filename {
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2023-11-09 10:34:07 -05:00
|
|
|
|
|
|
|
.login-button {
|
|
|
|
height: 48px;
|
|
|
|
width: 216px;
|
|
|
|
padding-right: 0px;
|
|
|
|
margin-right: 1rem;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* on the mockup, it looked like about 142px above the heading.
|
|
|
|
* we already have 32px, so adding the balance.
|
|
|
|
*/
|
|
|
|
.login-page-spacer {
|
|
|
|
padding-top: 110px;
|
|
|
|
}
|
2023-12-05 11:41:59 -05:00
|
|
|
|
|
|
|
.shortcut-key {
|
|
|
|
display: inline-block;
|
|
|
|
border: 1px solid #ccc;
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 4px 8px;
|
|
|
|
margin: 4px;
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
|
|
font-size: 14px;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shortcut-description {
|
2024-06-18 20:15:25 +01:00
|
|
|
width: 50%;
|
|
|
|
/* Adjust width as needed */
|
|
|
|
float: left;
|
|
|
|
/* Floats the description to the left */
|
2023-12-05 11:41:59 -05:00
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.shortcut-key-group {
|
2024-06-18 20:15:25 +01:00
|
|
|
width: 50%;
|
|
|
|
/* Adjust width as needed */
|
|
|
|
float: right;
|
|
|
|
/* Floats the keys to the right */
|
|
|
|
text-align: right;
|
|
|
|
/* Aligns text to the right within the container */
|
2023-12-05 11:41:59 -05:00
|
|
|
}
|
2023-12-18 14:23:51 -05:00
|
|
|
|
2024-06-10 16:15:54 +00:00
|
|
|
div.retrievalExpressionsForm {
|
|
|
|
border: 1px solid #999;
|
|
|
|
border-radius: 15px;
|
|
|
|
background: #ddd;
|
|
|
|
padding: 20px;
|
|
|
|
margin: 20px;
|
|
|
|
}
|
|
|
|
|
2023-12-18 14:23:51 -05:00
|
|
|
.task-info-modal-accordion .cds--accordion__content {
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
2024-06-10 16:15:54 +00:00
|
|
|
|
2023-12-18 14:23:51 -05:00
|
|
|
.task-instance-modal-row-item {
|
|
|
|
height: 48px;
|
|
|
|
line-height: 48px;
|
|
|
|
}
|
Tcoz openai assist (#1138)
* Update README.md
Some notes for people that might want to run full-on native, with detail about how Mac hijacks port 7000 and how to get around it.
* Revert "Update README.md"
This reverts commit 096887c26d591f93a836ef808c148af09767f2d2.
* README update and native code patch
Some details for user that might be running Python3, Mac, and want to run everything locally/natively.
* Implement basic tooltips
Uses MUI tooltip, as it behaves more predictably with existing styling, and enables top-level theme config.
Top-level configuration for all MUI components can be controlled via overriding the existing theme. See index.tsx. This could be done per user for customization, etc.
Enabling JSON module imports in tsconfig.json seemed to fix the error in ReactDiagramEditor
* Naive AI code editor implementation
A working starting point.
* Implement API to return if script assist should be enabled
Along with route and function, api config, etc.
* UI calls backend to see if script assist is enabled.
If it is, loads the related UI, otherwise it doesn't appear.
* Moving forward with service for message processing.
* Services scaffolded
* Open API called, prompt-engineered to get script only.
* Little cleanup work
* Enabled + process message working.
Had to find all the places permissions are enabled, etc.
* Cleanup, comments, etc.
* Env vars, styling, error cases, conditional display of script assist
Finishing touches for the most part.
REQUIRES TWO ENV VARS BE SET.
SPIFFWORKFLOW_SCRIPT_ASSIST_ENABLED=["True" | "true" | 1] (anything else is false)
SECRET_KEY_OPENAI_API=[thekey]
The are retrieved in default.py. I run the app locally, so I just set them in the terminal.
NEW INSTALL: @carbon/colors (so we consistently use carbon palette etc.)
* Fix tooltips, clean up some styling.
Finishing it off.
* Add loader and error message
Complete UX stuff
* Update useScriptAssistEnabled.tsx
Remove log
* Update script_assist_controller.py
Add this tweak to avoid TMI.
* Some reasonable changes suggested by the build process
* Comments from PR.
* Update ProcessModelEditDiagram.tsx
Should (but I don't know how to tell yet) call the change handler that wasn't firing before.
* updated the permissions setting in authorization service w/ burnettk
* precommit now passes. tests are failing w/ burnettk
* pinned SpiffWorkflow to known working version and fixed tests. we will update spiff in a later pr w/ burnettk
* made changes based on coderabbi suggestions
* updated the error handling to be more inline with how we have handled other errors and some ui tweaks
* removed pymysql package w/ burnettk
* forgot to remove pymysql from lock file w/ burnettk
---------
Co-authored-by: Tim Consolazio <tcoz@tcoz.com>
Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
2024-03-04 10:42:27 -05:00
|
|
|
|
|
|
|
/* Utility classes to create horizontally centered stacks (to align icons etc) */
|
|
|
|
.flex-align-horizontal-center {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flex-justify-end {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gray-text {
|
|
|
|
color: gray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-text-red {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Utility classes (carbon equivalents for stacks, columns and rows?) */
|
|
|
|
.p-10 {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-top-10 {
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-bottom-10 {
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-left-10 {
|
|
|
|
padding-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-right-10 {
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-10 {
|
|
|
|
margin: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-top-10 {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-bottom-10 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-left-10 {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.m-right-10 {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.not-editable {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2024-03-26 11:55:23 +00:00
|
|
|
|
|
|
|
.pi-show-new-tab-button {
|
|
|
|
position: relative;
|
|
|
|
left: 6px;
|
|
|
|
}
|