Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

calendar styling (weekend day) #101

Closed
Elioty opened this issue Nov 2, 2013 · 6 comments
Closed

calendar styling (weekend day) #101

Elioty opened this issue Nov 2, 2013 · 6 comments
Assignees
Milestone

Comments

@Elioty
Copy link

Elioty commented Nov 2, 2013

Hi

Could you add a specific class to the span.day to specify that they are a weekend day so we could easily apply a different style to them.
Or should we use the custom rendering method?

Elioty.

@fwenzel
Copy link

fwenzel commented Nov 2, 2013

"weekend day" might be a definition up to debate, but a class consistent with the day of the week might make sense. This way if someone wants to style all wednesdays, that too would be possible.

@Elioty
Copy link
Author

Elioty commented Nov 2, 2013

Well, by "weekend day", I meant Saturday and Sunday. But I thought about it too : why not a class for every week day, .day-monday .day-tuesday and so on. That would bring more easy styling possibilities without going through the custom rendering method.

@nadrimajstor
Copy link

Please consider that weekend are not the same day/days everywhere.
http://en.wikipedia.org/wiki/Workweek_and_weekend

@potch
Copy link
Member

potch commented Nov 12, 2013

@Elioty your suggestion makes a ton of sense! I'd use the custom renderer for now, but expect to see day-specific classnames soon.

@potch potch modified the milestones: 1.1, 1.0 stable Mar 3, 2014
@potch
Copy link
Member

potch commented Mar 3, 2014

Moving this to 1.1. Expect it soon!

@dotch
Copy link

dotch commented Jul 16, 2014

will be tracked in the individual repo at mozbrick/brick-calendar#5

@dotch dotch closed this as completed Jul 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants