You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could expand categories to cover this issue. Maybe have full day events with categories change the background for the entire day. Or add another category attribute that does it.
"change the background for the entire day" <- what about css classes? and some definition for rules to apply them (if festivity add .festivity class to the div)
The same logic applies for classes as it does for any kind of style. For something programmatic like this, it's easier to add the style to each place it's to be applied. I'm not sure that we want users to have too much control over the CSS as it opens up a path to XSS and similar attacks.
The idea is very much interesting and a simple class, similar to Twitter Bootstrap styles may be applied. The user will then have the possibility of assigning a color to each festivity.
Different color for days which are:
-national / local festivities
-other days off
The text was updated successfully, but these errors were encountered: