/* * A form you fill in before starting a run, in a narrow aside. Each input used to open with a * centred gradient badge repeating the word "Flow", a "Type:" line and a four-row textarea, so * three short answers filled the panel. One line of chrome per input, and the field grows instead. */ .inputs-panel-group { display: flex; align-items: center; gap: 4px; width: 100%; padding: 2px 0; border: none; background: transparent; color: #64748b; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; cursor: pointer; } .inputs-panel-group:hover { color: #334155; } .inputs-panel-group .mat-icon { flex: 0 0 auto; font-size: 16px; width: 16px; height: 16px; line-height: 16px; } /* * The count of what is still missing, so a collapsed group never hides the fact that it is holding * the run back; a tick replaces it once nothing is. */ .inputs-panel-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 17px; height: 17px; margin-left: auto; padding: 0 4px; border-radius: 999px; font-size: 10px; font-weight: 700; cursor: help; } .inputs-panel-badge-missing { background: #dc2626; color: #ffffff; } .inputs-panel-badge-done { background: #16a34a; color: #ffffff; } .inputs-panel-badge .mat-icon { font-size: 12px; width: 12px; height: 12px; line-height: 12px; } .inputs-panel-item { padding: 6px 8px; border: 1px solid #e2e8f0; border-left: 3px solid transparent; border-radius: 6px; background: #ffffff; } /* Still required: the backend says this one blocks the start. */ .inputs-panel-item-missing { border-left-color: #f59e0b; } .inputs-panel-item-pending { border-left-color: #2563eb; background: #f8fafc; } .inputs-panel-item-head { display: flex; align-items: center; gap: 6px; min-width: 0; margin-bottom: 4px; } .inputs-panel-fold { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 18px; height: 18px; margin-left: -4px; padding: 0; border: none; border-radius: 4px; background: transparent; color: #64748b; cursor: pointer; } .inputs-panel-fold:hover { background: #f1f5f9; color: #0f172a; } .inputs-panel-fold .mat-icon { font-size: 16px; width: 16px; height: 16px; line-height: 16px; } .inputs-panel-count { flex: 0 0 auto; padding: 0 5px; border-radius: 999px; background: #eef2ff; color: #4338ca; font-size: 10px; font-weight: 600; } .inputs-panel-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 999px; background: #22c55e; cursor: help; } .inputs-panel-dot-missing { background: #f59e0b; } .inputs-panel-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 600; color: #0f172a; } .inputs-panel-type { flex: 0 0 auto; padding: 0 4px; border-radius: 3px; background: #f1f5f9; color: #64748b; font-size: 10px; font-weight: 600; } .inputs-panel-owner { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: auto; color: #94a3b8; font-size: 10px; cursor: help; } /* A plain field, not a Material form-field: those carry ~28px of label and subscript furniture. */ .inputs-panel-field { display: block; width: 100%; min-height: 34px; padding: 5px 7px; border: 1px solid #cbd5e1; border-radius: 4px; background: #ffffff; color: #0f172a; font: inherit; font-size: 12.5px; line-height: 1.4; resize: vertical; } .inputs-panel-field:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12); } .inputs-panel-field[readonly] { background: #f8fafc; color: #64748b; } .inputs-panel-items { display: flex; flex-direction: column; gap: 4px; } .inputs-panel-row { display: flex; align-items: flex-start; gap: 4px; min-width: 0; } .inputs-panel-index { flex: 0 0 auto; padding-top: 7px; width: 12px; color: #94a3b8; font-size: 10px; text-align: right; } /* An icon, not a wide "Remove" button: at this width a text button pushed the field out. */ .inputs-panel-remove { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: none; border-radius: 4px; background: transparent; color: #94a3b8; cursor: pointer; } .inputs-panel-remove:hover:not(:disabled) { background: #fee2e2; color: #b91c1c; } .inputs-panel-remove:disabled { color: #e2e8f0; cursor: default; } .inputs-panel-remove .mat-icon { font-size: 15px; width: 15px; height: 15px; line-height: 15px; } .inputs-panel-add { display: flex; align-items: center; gap: 2px; align-self: flex-start; padding: 2px 6px 2px 2px; border: none; background: transparent; color: #2563eb; font-size: 11px; font-weight: 600; cursor: pointer; } .inputs-panel-add:disabled { color: #cbd5e1; cursor: default; } .inputs-panel-add .mat-icon { font-size: 15px; width: 15px; height: 15px; line-height: 15px; } /* * One save for the whole panel. Per-input buttons meant a click and a round trip each, and nothing * ever said how much was still unsaved. */ .inputs-panel-savebar { position: sticky; bottom: 0; display: flex; flex-direction: column; gap: 6px; margin: 4px -12px -12px; padding: 8px 12px; border-top: 1px solid #e2e8f0; background: #ffffff; } .inputs-panel-savebar-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; } .inputs-panel-savebar-status { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #64748b; font-size: 11px; } /* * The two secondary actions on a value: paste a whole JSON array instead of typing five long * questions one box at a time, and open the value in a box wide enough to read it. */ .inputs-panel-icon { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 20px; height: 20px; padding: 0; border: none; border-radius: 4px; background: transparent; color: #94a3b8; cursor: pointer; } .inputs-panel-icon:hover:not(:disabled) { background: #e0e7ff; color: #4338ca; } .inputs-panel-icon:disabled { color: #e2e8f0; cursor: default; } .inputs-panel-icon .mat-icon { font-size: 15px; width: 15px; height: 15px; line-height: 15px; } /* On an item row the actions sit beside a textarea, so they line up with its first line. */ .inputs-panel-row-action { margin-top: 5px; } .inputs-panel-import-field { display: block; width: 100%; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 6px; background: #ffffff; color: #0f172a; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.5; resize: vertical; } .inputs-panel-import-field:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12); } .inputs-panel-import-error { display: flex; align-items: flex-start; gap: 6px; padding: 8px 10px; border: 1px solid #fecaca; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 12px; } .inputs-panel-import-error .mat-icon { flex: 0 0 auto; font-size: 16px; width: 16px; height: 16px; line-height: 16px; } .inputs-panel-import-footer { display: flex; justify-content: flex-end; gap: 8px; padding: 0.75rem 1.25rem 1.25rem; } .inputs-panel-editor-field { display: block; width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 6px; background: #ffffff; color: #0f172a; font: inherit; font-size: 13.5px; line-height: 1.55; resize: vertical; } .inputs-panel-editor-field:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12); } .inputs-panel-editor-field[readonly] { background: #f8fafc; color: #64748b; } /* * One message for the whole panel, in the sticky bar beside the button that triggered it: at the * top of the panel it could be scrolled out of sight by the very fields it was about. */ .inputs-panel-alert { display: flex; align-items: flex-start; gap: 6px; padding: 6px 8px; border: 1px solid #fecaca; border-radius: 6px; background: #fef2f2; color: #b91c1c; font-size: 11.5px; line-height: 1.35; } .inputs-panel-alert .mat-icon { flex: 0 0 auto; font-size: 16px; width: 16px; height: 16px; line-height: 16px; }