renderStartWork built raw input/select/textarea elements with no CSS class, so they fell back to browser-default white boxes against the rest of the dark theme. Style them like the app's other themed form controls (Configuration's .kv-input). Closes archie-core-w35v.
88 lines
1.5 KiB
CSS
88 lines
1.5 KiB
CSS
/* Workflows-only styles. */
|
|
|
|
.wf-stage-card {
|
|
margin-top: var(--sp-4);
|
|
}
|
|
|
|
.wf-rate {
|
|
font-size: var(--text-sm);
|
|
color: var(--fg);
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: var(--sp-2);
|
|
}
|
|
|
|
.wf-rate-sub {
|
|
font-size: var(--text-xs);
|
|
color: var(--fg-subtle);
|
|
}
|
|
|
|
.wf-bar {
|
|
height: 5px;
|
|
border-radius: var(--radius-pill);
|
|
background: var(--border);
|
|
overflow: hidden;
|
|
margin-top: var(--sp-2);
|
|
width: 140px;
|
|
}
|
|
|
|
.wf-bar-fill {
|
|
height: 100%;
|
|
border-radius: var(--radius-pill);
|
|
transition: width var(--transition);
|
|
}
|
|
|
|
.wf-bar-ok {
|
|
background: var(--ok);
|
|
}
|
|
|
|
.wf-bar-warn {
|
|
background: var(--warn);
|
|
}
|
|
|
|
.wf-bar-danger {
|
|
background: var(--danger);
|
|
}
|
|
|
|
.wf-bar-info {
|
|
background: var(--info);
|
|
}
|
|
|
|
/* Stacked form for "Start work". This was .cfg-rows, a class owned by the
|
|
Configuration page, so restyling Configuration could silently restyle
|
|
this form. Named for what it is and owned by this feature instead. */
|
|
.wf-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--sp-2);
|
|
}
|
|
|
|
.wf-form input,
|
|
.wf-form select,
|
|
.wf-form textarea {
|
|
font: inherit;
|
|
font-size: var(--text-sm);
|
|
color: var(--fg);
|
|
background: var(--surface);
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius-sm);
|
|
padding: var(--sp-2);
|
|
width: 100%;
|
|
}
|
|
|
|
.wf-form textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
.wf-form input:focus,
|
|
.wf-form select:focus,
|
|
.wf-form textarea:focus {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: -1px;
|
|
}
|
|
|
|
.wf-form input::placeholder,
|
|
.wf-form textarea::placeholder {
|
|
color: var(--fg-subtle);
|
|
}
|