You are here

protected function AvailabilityCalendarsCssGenerator::createHeaderCss in Availability Calendars 6.2

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

Return value

string The CSS for the header

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

File

./availability_calendars.styles.inc, line 537

Class

AvailabilityCalendarsCssGenerator

Code

protected function createHeaderCss() {
  $category = 'header';
  $css = '';
  $css .= $this
    ->cssSelector(".cal thead th");
  $css .= $this
    ->addCssLengthDeclaration($category, 'height');
  $css .= $this
    ->addCssDeclaration($category, 'text-align');
  $css .= $this
    ->addCssDeclaration($category, 'font-weight');
  $css .= $this
    ->addCssDeclaration($category, 'font-style');
  $css .= $this
    ->addCssDeclaration($category, 'font-size');
  $css .= $this
    ->cssSelectorEnd();
  return $css;
}