925 lines
16 KiB
CSS
Raw Normal View History

/* site is mainly using white theme. */
/* header is mainly using g100 */
/* mockup wanted white, not grey, text */
.cds--header,
a.cds--header__menu-item {
color: white;
}
.megacondensed {
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
padding-left: 0;
margin-left: 0;
}
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;
}
.cds--header__action.spiff-environment-header-text {
width: 5rem;
color: #126d82;
}
.cds--header__action.unclickable-text:hover {
background-color: #161616;
cursor: default;
}
.cds--header__action.unclickable-text:focus {
border: none;
box-shadow: none;
border-color: none;
}
.cds--loading__stroke {
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
stroke: rgb(128, 128, 128);
}
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 {
color: #b0b0b0;
2023-03-02 08:34:15 -05:00
font-style: italic;
}
h1 {
font-weight: 400;
font-size: 28px;
line-height: 36px;
color: #161616;
margin-bottom: 1rem;
}
h2 {
font-weight: 400;
font-size: 20px;
line-height: 28px;
color: #161616;
}
h3 {
font-weight: 400;
font-size: 18px;
line-height: 20px;
color: #161616;
}
.tag-within-dl {
color: black;
margin-left: -3px;
}
.cds--btn.button-white-background {
color: #393939;
background: #ffffff;
background-blend-mode: multiply;
border: 1px solid #393939;
}
.cds--btn.button-white-background:hover {
background: lightgrey;
}
.cds--breadcrumb-item a.cds--link:hover {
color: #525252;
}
.cds--breadcrumb-item a.cds--link:visited {
color: #525252;
}
.cds--breadcrumb-item a.cds--link:visited:hover {
color: #525252;
}
.cds--breadcrumb-item a.cds--link {
color: #525252;
}
.cds--btn--ghost {
color: black;
}
.cds--btn--ghost:visited {
color: black;
}
.cds--btn--ghost:hover {
color: black;
}
.cds--btn--ghost:visited:hover {
color: black;
}
/* match normal link colors */
.cds--btn--ghost.button-link {
color: #0062fe;
padding-left: 0;
}
.cds--btn--ghost.button-link:visited {
color: #0062fe;
padding-left: 0;
}
.cds--btn--ghost.button-link:hover {
color: #0062fe;
background-color: white;
padding-left: 0;
}
.cds--btn--ghost.button-link:visited:hover {
color: #0062fe;
background-color: white;
padding-left: 0;
}
/* make the colors black to make it easier to read */
.cds--btn--tertiary {
color: black;
border-color: black;
}
.cds--btn--tertiary:visited {
color: black;
border-color: black;
}
/* make the colors a little lighter black on hover
* so they match our normal scheme better
*/
.cds--btn--tertiary:focus {
color: white;
border-color: #393939;
background-color: #393939;
}
.cds--btn--tertiary:hover {
color: white;
border-color: #474747;
background-color: #474747;
}
.cds--btn--tertiary:visited:hover {
color: white;
border-color: #474747;
background-color: #474747;
}
.cds--header__global .cds--btn--primary.button-link {
color: #f4f4f4;
background-color: #393939;
padding-left: 0;
}
.cds--header__global .cds--btn--primary {
background-color: #161616;
}
.cds--btn--primary {
background-color: #393939;
}
.cds--btn--primary:hover {
background-color: #474747;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
.app-logo {
height: 37px;
width: 152px;
margin-top: 1rem;
margin-bottom: 1rem;
}
.spiffworkflow-header-container {
margin-bottom: 2rem;
}
.active-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: yellow !important;
opacity: 0.6;
}
.completed-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: grey !important;
opacity: 0.4;
}
2023-04-12 13:22:10 -04:00
.cancelled-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: blue !important;
opacity: 0.2;
2023-04-12 13:22:10 -04:00
}
.errored-task-highlight:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: red !important;
opacity: 0.2;
}
.accordion-item-label {
vertical-align: middle;
}
.cds--breadcrumb {
margin-bottom: 2rem;
}
.process-description {
margin-bottom: 2rem;
}
h1.with-icons {
margin-top: 5px;
}
.with-icons {
margin-top: 10px;
}
.readme-container {
max-width: 640px;
}
dl {
display: block;
grid-template-columns: 35% 65%;
font-size: 14px;
line-height: 1.2rem;
padding-top: 9px;
}
dl dt {
display: inline-block;
font-weight: 600;
Feature/business end states (#333) * WIP: some updates to support new spiff w/ burnettk * unit tests are passing * all tests except message tests are passing * fixed usage of catch message event w/ burnettk * messages are working again w/ burnettk * uncommented remaining message tests w/ burnettk * fixed cypress tests w/ burnettk * use main for spiffworkflow * translated mysql last milestone query to sqlalchemy w/ burnettk * fixed last milestone query so instances still return if no milestone found and moved some code from the main report method to own methods * added some comments * added last milestone column to process instances table * display last milestone in instance list table w/ burnettk * remove 3 characters when truncating last milestone for ellipsis * make sure we have a current processor so we don't return null * remove sleep * The background processor now only picks up processes that were last updated more than a minute ago to avoid conflicting with the interstitial page. With the understanding that we can rmeove this limitation when we can refactor to allow the backend processes to provide updates on what they are doing. * pyl w/ burnettk * cache last milestone on instances * pyl * added test for last milestone and added it to the proces instance show page w/ burnettk * fixed broken test w/ burnettk * fixed last milestone header * removed duplicated column * fixed broken test --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com> Co-authored-by: danfunk <daniel.h.funk@gmail.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-07 10:10:44 -04:00
min-width: 6rem;
color: #161616;
}
dl.metadata-display dt {
width: 7rem;
word-wrap: break-word;
}
dl dd {
display: inline-block;
padding-left: 1rem;
color: #525252;
}
.smaller-text {
font-size: 14px;
}
.diagram-editor-canvas {
border: 1px solid #000000;
height: 78vh;
width: 90vw;
margin: 0 auto;
}
.with-bottom-margin {
margin-bottom: 1rem;
}
.user-profile-toggletip-content {
background-color: #393939;
color: #f4f4f4;
margin-right: 8px;
margin-top: -20px;
}
#user-profile-toggletip {
margin-top: 8px;
margin-right: 12px;
}
#user-profile-toggletip .cds--popover-content::before {
content: none;
}
#user-profile-toggletip .cds--popover--bottom-right .cds--popover-content {
bottom: 11px;
right: -5px;
border-radius: 5px;
border: 3px solid black;
}
#user-profile-toggletip .cds--popover-caret {
display: none;
}
.user-profile-toggletip-button:hover {
background-color: #161616;
}
#user-profile-toggletip .cds--popover--tab-tip__button::after {
content: none;
}
#user-profile-toggletip
.cds--popover--tab-tip.cds--popover--open
.cds--popover--tab-tip__button {
background-color: #161616;
}
.with-top-margin {
margin-top: 1rem;
}
.with-extra-top-margin {
margin-top: 1.3rem;
}
.with-top-margin-for-label-next-to-text-input {
margin-top: 2.3rem;
}
.with-tiny-top-margin {
margin-top: 4px;
}
.with-top-margin-for-unit-test-name {
margin-top: 11px;
}
.with-large-bottom-margin {
margin-bottom: 3rem;
}
.with-tiny-bottom-margin {
margin-bottom: 4px;
}
.with-half-rem-bottom-margin {
margin-bottom: 0.5rem;
}
.with-half-rem-top-margin {
margin-top: 0.5rem;
}
.diagram-viewer-canvas {
border: 1px solid #000000;
height: 70vh;
width: 90vw;
margin: auto;
}
.breadcrumb {
font-size: 1.5rem;
}
.breadcrumb-item.active {
color: black;
}
.container .nav-tabs {
margin-top: 1rem;
}
/* Markdown Tables */
.markdown table {
color: #333;
background: white;
font-size: 12pt;
border-collapse: collapse;
}
.markdown table thead th,
.markdown table tfoot th {
color: #777;
background: rgba(0, 0, 0, 0.1);
}
.markdown table th,
.markdown table td {
padding: 0.5rem;
border: 1px solid lightgrey;
}
/* Zebra Table Style */
.markdown tbody tr:nth-of-type(odd) {
background: rgba(0, 0, 0, 0.05);
}
.form-instructions {
margin-bottom: 10rem;
}
/* Json Web Form CSS Fix - Bootstrap now requries that each li have a "list-inline-item." Also have a PR
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 */
.list-inline > li {
display: inline-block;
padding-right: 5px;
padding-left: 5px;
}
.cds--tile.tile-process-group {
padding: 0px;
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;
height: 264px;
background: #f4f4f4;
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;
height: 264px;
padding: 1rem;
position: relative;
}
.tile-process-group-display-name {
margin-top: 2rem;
margin-bottom: 1rem;
font-size: 20px;
line-height: 28px;
color: #161616;
order: 0;
}
.tile-title-top {
margin-bottom: 2rem;
font-size: 20px;
line-height: 28px;
color: #161616;
order: 0;
}
.tile-description {
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;
}
.tile-pin-bottom {
position: absolute;
bottom: 1rem;
}
.cds--tabs .cds--tabs__nav-link {
max-width: 20rem;
}
/* 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;
}
.clear-left {
clear: left;
}
td.actions-cell {
width: 1rem;
}
.process-instance-list-table {
margin: 0;
padding: 0;
}
.process-instance-list-table button.button-tag {
max-width: calc(100% - 1rem);
}
2023-04-13 16:36:46 -04:00
.process-instance-table-header {
margin-bottom: 1rem;
2023-04-13 16:36:46 -04:00
}
.no-results-message {
font-style: italic;
font-size: 14px;
}
th.table-header-right-align .cds--data-table,
th.table-header-right-align .cds--table-header-label {
text-align: right;
}
.data-table-description {
font-size: 14px;
line-height: 18px;
letter-spacing: 0.16px;
color: #525252;
margin-bottom: 1rem;
}
.filter-icon {
2022-11-25 11:55:37 -05:00
text-align: right;
padding-bottom: 10px;
margin-right: 0px;
2022-11-25 11:55:37 -05:00
}
.cds--btn--ghost:not([disabled]).red-icon svg {
fill: red;
}
.cds--btn--ghost:not([disabled]).green-icon svg {
fill: #198038;
}
.cds--btn--ghost:not([disabled]) svg.red-icon {
fill: red;
}
svg.green-icon {
fill: #198038;
}
svg.notification-icon {
margin-right: 1rem;
}
.failure-string {
color: red;
}
.filter-tag {
justify-content: left;
width: 100%;
height: 2rem;
}
.filter-tag > span {
display: flex;
flex-direction: row;
width: 100%;
}
.filter-tag > span > span {
margin-right: 0.5px;
}
.cds--btn--ghost.cds--btn--sm.button-tag {
padding-left: 0;
padding-right: 0;
padding-top: 0px;
flex-grow: 1;
}
.cds--btn--ghost.cds--btn--sm.button-tag-icon {
padding-left: 0;
padding-right: 0;
padding-top: 0px;
}
/* .no-wrap cds--label cds--label--inline cds--label--inline--md{ */
.no-wrap .cds--label--inline {
word-break: normal;
}
.vertical-spacer-to-allow-combo-box-to-expand-in-modal {
height: 250px;
}
.cds--btn.narrow-button {
max-width: 10rem;
min-width: 5rem;
word-break: normal;
}
/* 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;
}
/* lime green */
.tag-type-green:hover {
background-color: #80ee90;
}
/* reset to initial modal css and avoid table specific css */
.modal-within-table-cell .cds--modal-container {
text-align: left;
}
.modal-within-table-cell .cds--modal-container button {
padding-left: 15px;
}
/* Errors and notifications */
.error_info .error_title {
display: inline-block;
font-weight: lighter;
width: 100px;
text-align: right;
margin-right: 10px;
}
.error_info_small {
font-size: 0.8em;
color: #550000;
}
.please-press-filter-button {
margin-bottom: 1rem;
font-weight: bold;
}
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);
font-size: 1.2rem;
margin-bottom: 30px;
2023-04-26 18:10:02 -04:00
}
.user_instructions_1 {
filter: opacity(60%);
font-size: 1.1rem;
2023-04-26 18:10:02 -04:00
}
.user_instructions_2 {
filter: opacity(40%);
font-size: 1rem;
2023-04-26 18:10:02 -04:00
}
.user_instructions_3 {
filter: opacity(20%);
font-size: 9rem;
2023-04-26 18:10:02 -04:00
}
.user_instructions_4 {
filter: opacity(10%);
font-size: 8rem;
2023-04-26 18:10:02 -04:00
}
.float-right {
float: right;
}
.user-list {
display: flex;
align-items: center;
margin-left: 8px;
}
.user-circle {
display: flex;
justify-content: center;
align-items: center;
width: 30px;
height: 30px;
border-radius: 50%;
color: #fff;
font-weight: bold;
}
.user-circle-for-list {
margin-right: 10px;
}
/* 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 */
.user-circle:nth-child(n + 11) {
background-color: #8e8e8e;
}
.version-info-column {
width: 50%;
}
/* 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 {
border: 0;
border-top: 1px solid;
color: inherit;
margin: 1rem 0;
opacity: 0.25;
}
.primary-file-text-suffix {
font-style: italic;
}
.modal-dropdown {
height: 20rem;
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
width: auto;
}
.task-data-details-header {
margin-top: 1.5rem;
margin-bottom: 0.5rem;
}
.explanatory-message {
font-style: italic;
font-size: 14px;
}
.indented-content {
margin-left: 1rem;
}
#hidden-form-for-autosave {
display: none;
}
Feature/better form nav (#474) * Detect focus loss/return in the Diagram Editor - so that we can reload the process model and assure that we know about any changed files. Allow for looking specifically for json SCHEMA files (those files that are named -schema.json or .schema.json (as is the convention). Only show these in the dropdown for the form. * * Run descriptions through the markdown processor so you can use bold/italic etc... in your description fields within a form. * Move ExampleTable into it's own view component to keep the size of the form builder sane. * Assure markdown within jrsf forms have reasonable styling that follows the containers style, rather than setting to some other default. * Add a couple of example forms so people can get a sense of what is possible. * Connect up the new Json Schema Editor Component to the process model edit diagram. * Just select the schema file - not the ui file when selecting the form for a component - we may revert this to just a text box. * * Cleanup the formatting of arrays, so that they are sligtly intended, do not contain an awkward unneeded heading, and have some tighter css. * Connect the form editing in the modal back to the BPMN-JS editor Auto-Save edits in the Form Builder Lots and lots of tweaks to the react form builder ui * various fixes. * test for prepare_schema * minor fix for run_pyl * css cleanup less issues with reloading and jumping about when in the editor Don't sort keys when returning the json. More intelligent "ready" * bump package to point to branch of bpmn-js-spiffworkflow so others can check it out. * Assure that json keys are not sorted during serialization by default. Allow adding example fields to an existing schema Create a set of examples. * db complaints in migration change. * removed items from interface file that had been moved elsewhere w/ burnettk * rename prepare_form to prepare-form * rename prepare_form to prepare-form * Remove commented out code. * typo * add a comment about the empty column * move back to the main branch --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2023-09-08 11:07:43 -04:00
div.json-schema {
display: flex;
flex-direction: column;
}
.my-completed-forms-header {
font-style: italic;
}
fieldset legend.header {
margin-bottom: 32px;
}
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;
}
}
p,
li,
h1,
h2,
h3,
h4,
h5,
h6,
blockquote,
hr {
max-width: 640px;
}
li.cds--accordion__item {
max-width: 100%;
}
div.markdown {
padding: 15px 0 15px 0;
overflow: visible;
}
div.markdown-collapsed {
max-height: 200px;
overflow: hidden;
--mask: linear-gradient(
to bottom,
rgba(0, 0, 0, 1) 0,
rgba(0, 0, 0, 1) 40%,
rgba(0, 0, 0, 0) 95%,
rgba(0, 0, 0, 0) 0
)
100% 50% / 100% 100% repeat-x;
font: 2em/1.6em Arial;
-webkit-mask: var(--mask);
mask: var(--mask);
}
.cds--data-table-content {
overflow-x: auto;
}
.wmde-markdown table {
width: fit-content;
overflow: auto;
}
/* override carbon variable so we can left align accordions*/
.cds--accordion {
--cds-layout-density-padding-inline-local: 0px;
}
.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;
}
/* makde the completed user form modal more readable */
.completed-task-modal .cds--modal-container {
background-color: #ffffff;
}
.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 {
--cds-text-disabled: rgba(22, 22, 22, 0.5);
background-color: var(--cds-field);
}
.completed-task-modal .cds--form__helper-text--disabled {
--cds-text-disabled: rgba(22, 22, 22, 0.5);
}
.process-model-file-table {
width: 100%;
table-layout: fixed;
overflow: hidden;
white-space: nowrap;
}
.process-model-file-table-filename {
overflow: hidden;
text-overflow: ellipsis;
}
.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;
}
Feature/background proc with celery (#788) * WIP: some initial test code to test out celery w/ burnettk * some cleanup for celery and added base model to put tasks waiting on timers * removed dup bpmn file * some more cleanup and added strategy to queue instructions * some minor code changes w/ burnettk * remove the unused next_task key from api calls since nobody uses it w/ burnettk essweine * added migration for future tasks and added test to make sure we are inserting into it w/ burnettk essweine * ensure future task run at time can be updated w/ burnettk * added table to queue instructions for end user in w/ burnettk * added test to ensure we are storing instructions for end users w/ burnettk * added progress page to display new instructions to user * ignore dup instructions on db insert w/ burnettk * some more updates for celery w/ burnettk * some pyl and test fixes w/ burnettk * fixed tests w/ burnettk * WIP: added in page to show instructions on pi show page w/ burnettk * pi show page is fully using not interstitial now w/ burnettk * fixed broken test w/ burnettk * moved background processing items to own module w/ burnettk * fixed apscheduler start script * updated celery task queue to handle future tasks and upgraded black and set its line-length to match ruff w/ burnettk * added support to run future tasks using countdown w/ burnettk * build image for celery branch w/ burnettk * poet does not exist in the image w/ burnettk * start blocking scheduler should always start the scheduler w/ burnettk * add init and stuff for this branch * make this work not just on my mac * send other args to only * added running status for process instance and use that on fe to go to show page and added additional identifier to locking system to isolate celery workers better w/ burnettk * fixed typing error that typeguard found, not sure why mypy did not w/ burnettk * do not check for no instructions on interstitial page for cypress tests on frontend w/ burnettk * do not queue process instances twice w/ burnettk * removed bad file w/ burnettk * queue tasks using strings to avoid circular imports when attmepting to queue w/ burnettk * only queue imminent new timer events and mock celery * some keyboard shortcut support on frontend and added ability to force run a process instance over the api w/ burnettk * some styles added for the shortcut menu w/ burnettk * pyl w/ burnettk * fixed test w/ burnettk * removed temporary celery script and added support for celery worker in run server locally w/ burnettk * cleaned up migrations w/ burnettk * created new migration to clean up old migrations --------- Co-authored-by: jasquat <jasquat@users.noreply.github.com> Co-authored-by: burnettk <burnettk@users.noreply.github.com>
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 {
width: 50%; /* Adjust width as needed */
float: left; /* Floats the description to the left */
margin-top: 10px;
}
.shortcut-key-group {
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 */
}