Skip to content

Defer billboard (.bb) styling to the Cacti theme - #418

Merged
TheWitness merged 1 commit into
developfrom
feature/defer-billboard-to-theme
Oct 7, 2026
Merged

TheWitness merged 1 commit into
developfrom
feature/defer-billboard-to-theme

Conversation

@TheWitness

Copy link
Copy Markdown
Member

Summary

css/midwinter.css carried billboard.js (.bb*) axis/legend/arc rules. Billboard styling belongs to the Cacti theme, not the plugin.

Those rules now live in the midwinter theme's main.css (which is present on the AJAX overload path where the theme's billboard.css is not loaded), so the look is preserved while the plugin no longer ships its own billboard styling.

Change

  • Remove the .bb-axis-*, .bb-legend-item, .bb-axis, and .bb-chart-arc rules from css/midwinter.css.
  • Keep all non-billboard intropage rules (.grid_item, .panel_data, .header_link, circle, .txt_*, …).

Paired with the Cacti core change that adds the matching .bb rules to include/themes/midwinter/main.css. No functional/data changes.

css/midwinter.css carried billboard .bb axis/legend/arc rules. Those now live in the midwinter theme's main.css (present on the AJAX overload path where billboard.css is not), so remove them here. Non-billboard intropage rules are kept.
Copilot AI balanced review requested due to automatic review settings October 7, 2026 12:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟡 Changes recommended

Supported older Cacti versions lack the paired core styling, causing a visual regression.

Review effort: Balanced
Findings: 1 High severity

Open (1)
What changed in this PR

Removes plugin-owned Billboard.js styling in favor of Cacti theme styling.

Changes:

  • Deletes Midwinter .bb* rules while preserving plugin-specific styles.
File Description
css/​midwinter.css Removes Billboard.js theme overrides.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread css/midwinter.css
@TheWitness
TheWitness merged commit 3284c59 into develop Oct 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants