mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 18:10:06 -05:00
Kanban practices for a board's lists (models/lib/boardFlowPolicies.js, docs/Features/Lists/Flow-Policies.md), offline and with no AI: - List policy: each list's own entry and exit criteria, written from the list menu and shown as a gavel at the list header, its tooltip the text. - Commitment point: the list from which work is committed to, flagged at its header; the lists before it are options. - WIP limit per person: how many open cards one person may hold on the board; an opened card names each of its people over it. Each is off until a board admin turns it on in Board Settings / List, and each is a feature of Admin Panel / Settings / Visibility / Features, which hides it on every board. The Scrum settings get a Definition of Ready beside the Definition of Done, and both are now readable by every member in the Scrum views once written. The four Scrum translation guards count 128 keys with it. Translated in every language. Thanks to xet7 !
71 lines
3.3 KiB
CSS
71 lines
3.3 KiB
CSS
.scrum-view { box-sizing: border-box; width: 100%; height: 100%; overflow: auto; padding: 16px; }
|
|
.scrum-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
|
|
.scrum-view h2 { margin-inline-end: auto; }
|
|
.scrum-view form { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; padding-block: 12px; }
|
|
.scrum-view label { display: flex; flex-direction: column; gap: 4px; max-width: 100%; }
|
|
.scrum-view textarea { resize: both; min-width: 140px; max-width: 100%; box-sizing: border-box; }
|
|
.scrum-view select, .scrum-view input { max-width: 100%; box-sizing: border-box; }
|
|
.scrum-view button { white-space: normal; height: auto; min-height: 32px; }
|
|
.scrum-planning { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
|
|
.scrum-table-scroll { max-width: 100%; overflow-x: auto; }
|
|
.scrum-table { width: 100%; border-collapse: collapse; }
|
|
.scrum-table th, .scrum-table td { text-align: start; padding: 8px; border-bottom: 1px solid currentColor; vertical-align: top; }
|
|
.scrum-view pre { white-space: pre-wrap; overflow-wrap: anywhere; }
|
|
.scrum-view details > summary { cursor: pointer; padding-block: 8px; }
|
|
.scrum-metadata { margin: 8px; overflow-wrap: anywhere; white-space: normal; }
|
|
.scrum-metadata strong { margin-inline-end: 5px; }
|
|
.scrum-metadata label { display: block; margin-block: 6px; }
|
|
.scrum-metadata textarea { resize: both; max-width: 100%; box-sizing: border-box; }
|
|
.scrum-field-settings label { gap: 8px; align-items: center; margin-block: 8px; }
|
|
/* Scrum forms use labelled native checkboxes; global material form rules hide them. */
|
|
.scrum-view input[type="checkbox"], .scrum-field-settings input[type="checkbox"] {
|
|
display: inline-block;
|
|
visibility: visible;
|
|
position: static;
|
|
inset-inline-start: auto;
|
|
width: 16px;
|
|
height: 16px;
|
|
min-height: 0;
|
|
flex: 0 0 16px;
|
|
padding: 0;
|
|
margin: 0;
|
|
appearance: auto;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.scrum-chart { margin-block: 16px; border-block-end: 1px solid currentColor; }
|
|
.scrum-chart-row { margin: 12px 0; overflow-wrap: anywhere; }
|
|
.scrum-chart-series { display: grid; grid-template-columns: minmax(100px, 1fr) 3fr; gap: 4px 12px; margin-block: 8px; }
|
|
.scrum-chart-series small { grid-column: 1 / -1; }
|
|
.scrum-chart-track { align-self: center; height: 16px; border: 1px solid currentColor; }
|
|
.scrum-chart-bar { height: 100%; background: currentColor; }
|
|
.scrum-chart-bar.committed, .scrum-chart-bar.added { opacity: .55; }
|
|
@media (max-width: 480px) {
|
|
.scrum-chart-series { grid-template-columns: 1fr; }
|
|
}
|
|
|
|
/* A rollover or a large undo running in the background (server/scrum.js,
|
|
server/lib/scrumBatchJobs.js): how far it is. */
|
|
.scrum-background-job .scrum-progress {
|
|
height: 0.5rem;
|
|
max-width: 24rem;
|
|
border-radius: 0.25rem;
|
|
background: rgba(0, 0, 0, 0.12);
|
|
overflow: hidden;
|
|
}
|
|
.scrum-background-job .scrum-progress-bar {
|
|
height: 100%;
|
|
background: #3cb500;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* A card's releases: a multiple select (several releases per card). Some
|
|
global form rules give selects one row's height; show a few rows. */
|
|
.scrum-view select[multiple], .scrum-metadata select[multiple] { min-height: 5.5em; height: auto; }
|
|
.scrum-multiple-help { display: block; opacity: .8; max-width: 32em; }
|
|
|
|
/* The Definition of Ready and of Done, readable by every member. */
|
|
.scrum-definition .scrum-definition-text {
|
|
white-space: pre-wrap;
|
|
}
|