This question is locked. New answers and comments are not allowed.
I have a panel bar that renders some subitems that are date sensitive, so I wanted to show red / amber / green background colours to represent how far away that date is.
I've performed a calculation within a loop, then added some HtmlAttributes to add the @class I wanted for colouring, i.e. DAYS1 .. DAYS10. However, the currently selected item always overrides my styling. Ideally I want to show the same colouring, but perhaps a border around the selected item instead. This is probably simple CSS styling, but any pointers would be appreciated :-)
Thanks,
Rob.
I've performed a calculation within a loop, then added some HtmlAttributes to add the @class I wanted for colouring, i.e. DAYS1 .. DAYS10. However, the currently selected item always overrides my styling. Ideally I want to show the same colouring, but perhaps a border around the selected item instead. This is probably simple CSS styling, but any pointers would be appreciated :-)
Thanks,
Rob.
