Ejemplo n.º 1
0
    /**
     *
     */
    function _getCss()
    {
        $contents = parent::_getCss() . "\n ";
        $contents .= '
	 .bar { float: left; display: inline;  border: 1px solid #eee; width: 300px; white-space: nowrap;}
	.percentage { float: left; background-color: #eef;  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;  font-size: 0.65em;  padding: 5px;  margin-right: }
	.coverage {margin: 0.4em; }
	.coverage a {
		padding-left: 0.5em;
	}
	.coverage:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
	}
	.coverage {display: inline-block;}
	/* Hides from IE-mac \\*/
	* html .coverage {height: 1%;}
	.coverage {display: block;}
	/* End hide from IE-mac */
	';
        return $contents;
    }
Ejemplo n.º 2
0
 function _getCss()
 {
     $result = parent::_getCss();
     $result .= "\n.progress { margin: 1px; height: 20px; padding: 1px; border: 1px solid #000; width: 275px; " . "background: #fff; color: #000; float: left; clear: right; top: 75px; z-index: 9; }";
     $result .= "\n.percents { background: #FFF; border: 1px solid #CCC; margin: 1px; height: 20px; " . "position:absolute; width:275px; z-index:10; left: 10px; top: 75px; text-align: center; }";
     $result .= "\n.blocks { background: #EEE; border: 1px solid #CCC; margin: 1px; height: 20px; width: 10px; " . "position: absolute; z-index:11; left: 12px; top: 75px; " . "filter: alpha(opacity=50); -moz-opacity: 0.5; opacity: 0.5; -khtml-opacity: .5 }";
     return $result;
 }
Ejemplo n.º 3
0
 function _getCss()
 {
     return parent::_getCss() . ' .pass { color: darkgreen; }';
 }
 function _getCss()
 {
     return parent::_getCss() . " .pass { color: green; } \n" . " .fail { font-weight:bold; font-size:1.2em; }.\n";
 }
 /**
  * Paints the CSS. Add additional styles here.
  * @return string            CSS code as text.
  * @access protected
  */
 function _getCss()
 {
     return HtmlReporter::_getCss() . " pre.source { font-family: monospace; white-space: pre; background-color: #eeeeec; }" . " span.lineNum { background-color: #e9b96e; }" . " span.lineCov { background-color: #8ae234; }" . " span.lineNoCov { background-color: #FAEA4F; }" . " span.lineDeadCode { background-color: #EF7B00; }" . " table#coverage th { background-color: #555752; color: white; text-align: center; padding: 0.1em 1em; }" . " table#coverage td.a { color: black; }" . " table#coverage td.low { background-color: #ef7b00; color: black; text-align: center; padding: 0.1em 1em; }" . " table#coverage td.medium { background-color: #faea4f; color: black; text-align: center; padding: 0.1em 1em; }" . " table#coverage td.high { background-color: #8ee034; color: black; text-align: center; padding: 0.1em 1em; }" . " table#coverage td { background-color: #d4d7d0; color: black; text-align: left; padding: 0.1em 1em; }";
 }
Ejemplo n.º 6
0
 function _getCss()
 {
     return parent::_getCss() . ' .pass { color: blue; }';
 }
Ejemplo n.º 7
0
 function _getCss()
 {
     return parent::_getCss() . ' body { font-family: Consolas, monospace; } [lang="he"] { unicode-bidi: embed; font-family: "SBL Hebrew", "Narkisim" }';
 }