Files
wekan/client/components/boards/timelineView.css
T
Lauri Ojansivu 1deae2fcab Fix four regressions from today's heavy dev session: spent-time backfill,
Board Settings description publication, Notification Settings wiring and
two unscaled font sizes.

- allowsSpentTime/allowsSpentTimeOnMinicard have defaultValue: true in
  models/boards.js but were missing from schemaUpgradeSteps.js's
  BOARD_ALLOWS_TRUE_DEFAULTS, so a board created before those flags existed
  would read them as undefined/false and hide its spent-time badge.
- customPrivateBoardDesc/customPublicBoardDesc are read by settingBody.jade
  but were not in server/publications/settings.js's SETTING_FIELDS, so the
  fields always rendered empty and saving them looked like it did nothing.
- notificationSettingsPopup.jade/.js are used by peopleBody.jade but were
  never imported into client/features/settings.js, so the template compiled
  to nothing and the popup did not exist at runtime.
- timelineView.css and two rules in minicard.css still used bare px
  font-size values instead of calc(Npx * var(--wekan-ui-font-scale, 1)),
  so the UI font-size preset did not reach them.

Thanks to xet7 !
2026-09-10 22:42:14 +03:00

96 lines
2.2 KiB
CSS

/* Board View / Timeline - a horizontal row of clickable history markers
* (left = oldest activity, right = now) plus a read-only, grouped-by-list
* rendering of the board's reconstructed state at the clicked point. Kept
* deliberately simple: see client/components/boards/timelineView.js.
*/
.timeline-view .timeline-track {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 4px;
padding: 8px 0 16px;
border-bottom: 1px solid rgba(128, 128, 128, 0.3);
margin-bottom: 16px;
}
.timeline-view .timeline-marker {
display: inline-block;
padding: 4px 8px;
border: 1px solid rgba(128, 128, 128, 0.4);
border-radius: 3px;
font-size: calc(11px * var(--wekan-ui-font-scale, 1));
white-space: nowrap;
cursor: pointer;
text-decoration: none;
}
.timeline-view .timeline-marker.is-selected {
background: #29a3a3;
color: #fff;
border-color: #29a3a3;
}
.timeline-view .timeline-view-asof {
font-weight: bold;
margin-bottom: 12px;
}
.timeline-view .timeline-lists {
display: flex;
flex-wrap: wrap;
gap: 16px;
}
.timeline-view .timeline-list {
min-width: 220px;
max-width: 280px;
}
.timeline-view .timeline-list-title {
font-size: calc(14px * var(--wekan-ui-font-scale, 1));
border-bottom: 1px solid rgba(128, 128, 128, 0.3);
padding-bottom: 4px;
}
.timeline-view .timeline-card {
border: 1px solid rgba(128, 128, 128, 0.3);
border-radius: 3px;
padding: 8px;
margin-bottom: 8px;
}
.timeline-view .timeline-card-badge {
display: inline-block;
font-size: calc(10px * var(--wekan-ui-font-scale, 1));
background: #eee;
color: #333;
border-radius: 2px;
padding: 1px 4px;
margin-bottom: 4px;
}
.timeline-view .timeline-card-title {
font-size: calc(13px * var(--wekan-ui-font-scale, 1));
margin: 0 0 4px;
}
.timeline-view .timeline-card-description {
font-size: calc(12px * var(--wekan-ui-font-scale, 1));
opacity: 0.8;
margin: 0 0 4px;
}
.timeline-view .timeline-card-label {
display: inline-block;
font-size: calc(10px * var(--wekan-ui-font-scale, 1));
background: #ddd;
border-radius: 2px;
padding: 1px 4px;
margin-inline-end: 4px;
}
.timeline-view .timeline-card-restore {
margin-top: 6px;
font-size: calc(11px * var(--wekan-ui-font-scale, 1));
}