You are here

protected function AvailabilityCalendarsCssGenerator::createCaptionCss in Availability Calendars 6.2

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

Return value

string The CSS for the caption

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

File

./availability_calendars.styles.inc, line 522

Class

AvailabilityCalendarsCssGenerator

Code

protected function createCaptionCss() {
  $category = 'caption';
  $css = '';
  $css .= $this
    ->cssSelector(".cal caption");
  $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;
}