This page documents CSS classes derived from source code constants. Class names are stable across versions, but inspect the DOM in your browser developer tools to confirm availability in your specific Gantt version.
Task Bar CSS Classes
Task bars in the Gantt chart receive CSS classes based on their type and state: Every task bar carries the base classgantt_task_line; type and state add further classes:
Marker CSS Classes
Timeline markers (vertical lines on the Gantt chart) receive type-specific CSS classes:Marker Styling Example
Resource View CSS Classes
Each resource allocation cell in the resource view is a marker element carrying the base classesgantt_resource_marker resource_marker:
How Marker Colors Are Applied
The marker color is not carried by discrete state classes. Instead, each marker is assigned an inline--marker_color CSS custom property whose value is computed from the resource’s allocation relative to its capacity — shading from a within-capacity color toward an over-allocation color. For example, a live marker renders as:
resourceMarkersColorConfig object (its ok/over colors or its colors/percentages thresholds), not by editing the marker classes. See Configure Resource Allocation Marker Colors.
Resource Marker Styling Example
Timeline Cell CSS Classes
Cells in the chart’s timeline area carry classes used for the grid background and for highlighting non-working time:DOM Structure Overview
Structural Element IDs
The Gantt widget uses the following stable DOM element IDs for CSS targeting:Conflict and State Indicators
Lightbox Form Classes
The lightbox (inline task editor) uses dedicated CSS classes for form layout:Configuration Example
Add custom CSS to a Polarion wiki page to override Gantt styles:Related Pages
- Color and Styling Properties — color configuration via administration properties
- Item Color Legend — task bar color coding reference
- Resource View Parameters — resource marker configuration
- Error Messages and Diagnostics — error indicator CSS classes