getCss() protected method

Paints the CSS. Add additional styles here.
protected getCss ( ) : string
return string CSS code as text.
コード例 #1
0
    protected function getCss()
    {
        return parent::getCss() . '
			.pass {color:green;}
			.subtle {color:#7B0000;}
			h1 {display:none;}
			h2,h3,h4{font-family:Verdana,Sans-serif;}
			table {margin-bottom:0.5em;width:100%;}
			tr {vertical-align:top;}
			td.first {width:3em;}
		';
    }
コード例 #2
0
ファイル: nvreporter.php プロジェクト: nvoyx/nvoyx
 protected function getCss()
 {
     $r = file_get_contents(dirname(__FILE__) . '/../../../resources/css/private.css');
     return parent::getCss() . " .pass { color: green; }\n" . $r;
 }
コード例 #3
0
ファイル: simpletester.php プロジェクト: mfavetti/LimeSurvey
 function getCss()
 {
     return parent::getCss() . ' .pass {color:green;}';
 }
コード例 #4
0
 protected function getCss()
 {
     return parent::getCss() . ' .pass { color: darkgreen; }';
 }
コード例 #5
0
ファイル: reporter.php プロジェクト: Clansuite/Clansuite
 public function getCss()
 {
     echo 'body { font:14px Consolas; }
           a.tooltip {text-decoration:none;}' . parent::getCss() . ' .pass { color: green; }
            .fail { font-weight: bold; }';
 }