protected function AvailabilityCalendarCssGenerator::createWeekNotesCss in Availability Calendars 7.3
Same name and namespace in other branches
- 7.5 availability_calendar.styles.inc \AvailabilityCalendarCssGenerator::createWeekNotesCss()
- 7.4 availability_calendar.styles.inc \AvailabilityCalendarCssGenerator::createWeekNotesCss()
Return value
string The CSS for the WeekNotes.
1 call to AvailabilityCalendarCssGenerator::createWeekNotesCss()
- AvailabilityCalendarCssGenerator::createCss in ./
availability_calendar.styles.inc - Creates the css.
File
- ./
availability_calendar.styles.inc, line 655
Class
Code
protected function createWeekNotesCss() {
$category = 'week_notes';
$css = '';
$css .= "/* Week notes (header column) */\n";
$css .= $this
->cssSelector(".cal tbody th, .cal thead th.cal-weekno-header");
$css .= $this
->addCssLengthDeclaration($category, 'width');
// Add color also to th cells to override Bartik
$css .= $this
->addCssColorDeclaration('table', 'color');
$css .= $this
->cssSelectorEnd();
return $css;
}