In my work supporting the organization, I am using APEX 4.2 to create a Training Calendar. While I am not a DBA or programming expert, I have been learning through trial and error.
The calendar is already set up, but I am looking for a way to customize how items are displayed based on a column in my table. Specifically, I have two project types: Project A and Project B. I would like these to be visually differentiated by having different border colors on the calendar display. Currently, I have implemented the following CSS code, but it applies to all events:
<style>
.Day a, .NonDay a, .Today a, .WeekendDay a {
font: normal 10px/12px Arial,sans-serif !important;
padding: 2px !important;
border-radius: 4px;
-moz-border-radius: 4px;
background-color: #E5E5E5;
border: 1px solid #FF1414;
}
.Day a:hover, .NonDay a:hover, .Today a:hover, .WeekendDay a:hover {
background-color: #A3A3A3;
border: 1px solid #FF1414;
text-decoration: none !important;
}
</style>
I am seeking advice on how I can modify this so that when PROJECT = A, a specific style as described above is applied, and when PROJECT = B, a variation of the same styling is applied. Any suggestions or guidance would be greatly appreciated.
Thank you, Christina