You are here

protected function AvailabilityCalendarsCssGenerator::createTableCss in Availability Calendars 6.2

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

Return value

string The CSS for the table

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

File

./availability_calendars.styles.inc, line 506

Class

AvailabilityCalendarsCssGenerator

Code

protected function createTableCss() {
  $category = 'table';
  $css = '';
  $css .= $this
    ->cssSelector(".cal");
  $css .= $this
    ->addCssDeclaration($category, 'font-size');
  $css .= $this
    ->addCssColorDeclaration($category, 'color');
  $css .= $this
    ->addCssColorDeclaration($category, 'background-color');
  $css .= $this
    ->addCssLengthDeclaration($category, 'border-width');
  $css .= $this
    ->addCssColorDeclaration($category, 'border-color');
  $css .= "}\n";
  return $css;
}