You are here

protected function AvailabilityCalendarsCssGenerator::createWeekNotesCss in Availability Calendars 7.2

Same name and namespace in other branches
  1. 6.2 availability_calendars.styles.inc \AvailabilityCalendarsCssGenerator::createWeekNotesCss()

Return value

string The CSS for the WeekNotes.

1 call to AvailabilityCalendarsCssGenerator::createWeekNotesCss()
AvailabilityCalendarsCssGenerator::createCss in ./availability_calendars.styles.inc
Creates the css.

File

./availability_calendars.styles.inc, line 577

Class

AvailabilityCalendarsCssGenerator

Code

protected function createWeekNotesCss() {
  $category = 'week_notes';
  $css = '';
  $css .= "/* Week notes (header column) */\n";
  $css .= $this
    ->cssSelector(".cal tbody th");
  $css .= $this
    ->addCssLengthDeclaration($category, 'width');
  $css .= $this
    ->cssSelectorEnd();
  return $css;
}