Lines Matching defs:style
70 * Add new style definitions to this element
71 * @param string $style
73 public function addStyle($style) {
78 $defs->addChild('style', $style);
212 * Generate a style setting from the input variables
224 $style = 'g rect.' . self::BACKGROUNDCLASS . '{fill:' . $params['b'] . ';}';
227 $style .= 'g:hover rect.' . self::BACKGROUNDCLASS . '{fill:' . $params['bh'] . ';}';
231 $style .= 'g ' . $element . '{';
232 if($params['s']) $style .= 'stroke:' . $params['s'] . ';';
233 if($params['f']) $style .= 'fill:' . $params['f'] . ';';
234 $style .= '}';
238 $style .= 'g:hover ' . $element . '{';
239 if($params['sh']) $style .= 'stroke:' . $params['sh'] . ';';
240 if($params['fh']) $style .= 'fill:' . $params['fh'] . ';';
241 $style .= '}';
244 return $style;
256 * Alternatively takes a replacement name from the current template's style.ini
321 * Loads the style.ini from the template (and various local locations)