NPM Resource Changed bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar krishnaGandhi11
krishnaGandhi11
1 Feb 2026

Pull Request for Issue #45082

Summary of Changes

Fixed the issue where the selected day in the frontend calendar was not highlighted.

Testing Instructions

described in #45082

Actual result BEFORE applying this Pull Request

Screenshot 2026-02-01 223231

Expected result AFTER applying this Pull Request

Screenshot 2026-02-02 001040

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar krishnaGandhi11 krishnaGandhi11 - open - 1 Feb 2026
avatar krishnaGandhi11 krishnaGandhi11 - change - 1 Feb 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 1 Feb 2026
Category Repository NPM Change
avatar richard67
richard67 - comment - 1 Feb 2026

@krishnaGandhi11 The pull request shall not include the compiled css results media/templates/site/cassiopeia/css/template.css and media/templates/site/cassiopeia/css/template.min.css.

avatar richard67
richard67 - comment - 1 Feb 2026
avatar krishnaGandhi11 krishnaGandhi11 - change - 1 Feb 2026
Labels Added: NPM Resource Changed PR-5.4-dev
avatar krishnaGandhi11
krishnaGandhi11 - comment - 1 Feb 2026

@krishnaGandhi11 The pull request shall not include the compiled css results media/templates/site/cassiopeia/css/template.css and media/templates/site/cassiopeia/css/template.min.css.

Sorry about that! I have removed it now.

c3ea9d8 1 Feb 2026 avatar krishnaGandhi11 Fix
avatar richard67
richard67 - comment - 1 Feb 2026
avatar krishnaGandhi11 krishnaGandhi11 - change - 1 Feb 2026
Labels Added: bug
avatar krishnaGandhi11
krishnaGandhi11 - comment - 1 Feb 2026
avatar brianteeman
brianteeman - comment - 1 Feb 2026

So the question isnt - does the css in this PR address the problem but more why doesnt the css in calendar.css work in the front end bootstrap based site template when it works in the bootstrap based admin template. When you identify that then surely that is what should be fixed and not new css added

avatar krishnaGandhi11
krishnaGandhi11 - comment - 2 Feb 2026

So the question isnt - does the css in this PR address the problem but more why doesnt the css in calendar.css work in the front end bootstrap based site template when it works in the bootstrap based admin template. When you identify that then surely that is what should be fixed and not new css added

Backend template (Atum) works because it includes a specific _calendar.scss file that maps the system variables (like --btn-primary-bg) to the template colors. Cassiopeia is missing this mapping entirely.

Instead of adding custom CSS overrides, I tried adding the missing variable definitions to the :root block in template.scss.
This "activates" the existing core styles for the frontend.

IMG_3986

it works - the front end calendar behaves as expected.
does this align with your question ?

avatar brianteeman
brianteeman - comment - 2 Feb 2026

so you are getting close. look at how and where this is done in the atum template

avatar 465645 465645 - test_item - 2 Feb 2026 - Tested successfully
avatar 465645
465645 - comment - 2 Feb 2026

I have tested this item ✅ successfully on 30ad40e

// Calendar Highlighting in Frontend
.js-calendar .calendar-container tbody td.day.selected {
background-color: var(--cassiopeia-color-primary) !important;
border: 1px solid var(--cassiopeia-color-primary) !important;
color: #fff !important;
border-radius: 4px !important;
}

// Hover Effect
.js-calendar .calendar-container tbody td.day:not(.disabled):not(.othermonth):hover {
background-color: var(--cassiopeia-color-primary) !important;
color: #fff !important;
cursor: pointer;
}issue solved


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46811.
avatar krishnaGandhi11
krishnaGandhi11 - comment - 2 Feb 2026

I have tested this item ✅ successfully on 30ad40e// Calendar Highlighting in Frontend .js-calendar .calendar-container tbody td.day.selected { background-color: var(--cassiopeia-color-primary) !important; border: 1px solid var(--cassiopeia-color-primary) !important; color: #fff !important; border-radius: 4px !important; }

// Hover Effect .js-calendar .calendar-container tbody td.day:not(.disabled):not(.othermonth):hover { background-color: var(--cassiopeia-color-primary) !important; color: #fff !important; cursor: pointer; }issue solved

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46811.

Although I have changed the way of solving this issue and just pushed the updated fix,
The code snippet you pasted above includes !important flags, but my previous version/fix(which you tested) never used "!important" - I don't understand why you commented that, is that a suggestion ?

Add a Comment

Login with GitHub to post a comment