fix(theme): Bootstrap button text colour on themed pages#168
fix(theme): Bootstrap button text colour on themed pages#168lordfolken merged 11 commits intomasterfrom
Conversation
for more information, see https://pre-commit.ci
- Introduce the bullet list with "Notable features include:" - Add closing paragraph on privacy, libre software (Wikipedia), and linking "improve" to the developer manual on Read the Docs
- Wrap tagline row in .container so the dotted rule matches navbar width - Increase margin below the hero title row before main content - Restore dotted border on .home-page-title-row where needed - Set navbar brand mark height to 2.4em for alignment with the title line
- Switch Docs from a single link to a Bootstrap dropdown (mirrors Download). - Items: Manual (/docs/#manual) and Hardware (/hardware/); omit separate Overview. - Active state includes hardware pages (menu hardware).
- Use ## Manual {#manual} so /docs/#manual matches the Docs dropdown Manual link.
- Embedded section; driver lists aligned with XCSoar Register.cpp; varios, sensors, radios. - Manufacturer links; OpenVario and related references; Kobo models from Model.cpp. - Section anchors on headings; drop redundant Peripherals block; tighten NEWS blurb.
Normalize JSON formatting so the pre-commit pretty-format-json hook passes.
Theme link colour on html.site-theme--* a outranked .btn-*, so Download Maps (btn-success) showed green text on a green button. Apply Bootstrap --bs-btn-color and hover/active variables for .btn anchors (excluding .btn-link).
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
📝 WalkthroughWalkthroughThis pull request updates the XCSoar website by introducing a documentation dropdown navigation menu, restructuring hardware documentation, enhancing homepage content, refining CSS styling for buttons and spacing, and reorganizing build configuration. The changes span navigation data, templates, content pages, stylesheets, and tooling configuration. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Follow-up to merged PR #167.
The global theme rule
html[class*="site-theme--"] a { color: … }has higher specificity than Bootstrap’s.btn-*, so on green-themed download pages the Download Maps button (.btn-success) showed green link text on a green background.Change
css/xcsoar-theme.css, restore Bootstrap’s--bs-btn-color,--bs-btn-hover-color, and--bs-btn-active-colorfora.btn(excluding.btn-link).Testing
color: greenand confirm sidebar buttons (success, warning) have readable label colours.Summary by CodeRabbit
New Features
Documentation
Style
Chores