<?php
/**
 * Stylesheet for the PhpMyObject extension to Simpletest HTMLReporter.
 *
 * This file is part of the PhpMyObject project,
 * an Object-Relational Mapping (ORM) system.
 * 
 * For questions, help, comments, discussion, etc., please join our
 * forum at {@link http://www.developpez.net/forums/forumdisplay.php?f=770} 
 * or our mailing list at {@link http://groups.google.com/group/pmo-dev}.
 *
 * PhpMyObject is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @package    	PhpMyObject
 * @subpackage 	PMO_Tests
 * @author     	Louis Lapointe <laplix@gmail.com>
 * @link				http://pmo.developpez.com/
 * @since 			PhpMyObject v0.15
 * @version       $Revision$
 * @copyright  	Copyright (C) 2008 Louis Lapointe
 * @license    	GPLv3 {@link http://www.gnu.org/licenses/gpl}
 * @filesource
 */

/**
 * this is included by the PMO_HTMLReporter->_getCss() method
 */
$style =<<<EOT
body { font-family: Verdana, Arial, sans-serif; }
h1 {
   font-size: 130%;
   color: #080;
}
h1 a { color: #080; }

pre {
   background-color: lightgray;
   color: inherit;
}
code a { text-decoration: none; }
code a:hover {
	background-color: red;
	color: white;
}
.container { width: 100%; }
.caseName {
   clear: left;
   font-weight: bold;
   font-size: 100%;
   background-color: #080;
   color: #fff;
   margin-top: 1em;
   margin-bottom: .5em;
   padding: .25em;
   padding-left: .5em;
}
.caseFooter {
   clear: left;
   padding: .25em;
   padding-left: .5em;
   font-size: 90%;
}
.caseFooterPass {

EOT;
if ($this->pmo_level > 1) { $style .=<<<EOT
   margin-top: 1em;
   margin-left: 2%;
   background-color: #080;
   color: #fff;

EOT;
} $style .=<<<EOT

}
.caseFooterFail {
   margin-top: 2.5em;
   margin-left: 2%;
   background-color: #f00;
   color: #fff;
   font-weight: bold;
}
.status {
   clear: left;
   float: left;
   margin-left: 2%;
   width: 10%;
   font-weight: bold;
}
.pass { color: #090; }
.fail { color: red; }
.skip { color: gray; }
.testName {
   float: left;
   width: 30%;
   padding-left: 2%;
   font-size: 70%;
}
table,
.message {
   float: left;
   width: 54%;
   padding-left: 2%;
   font-size: 90%;
}
.footer {
   padding: .25em;
   padding-left: .5em;
   margin-top: 1em;
   color: #fff;
}
.footerPass {
   background-color: #080;
}
.footerFail {
   background-color: #f00;
   font-weight: bold;
}
.info { font-size: 90%; }
#info { display: none; }
.hilite {
   background-color: #f00;
   color: #fff;
}
#more a {
   text-decoration: underline;
   cursor: pointer;
   color: blue;
}
#more a:active, #more a:hover { color: red; }

.pmoFooter {
	float: right;
	font-size: 0.8em;
   color: #ccc;
}
EOT;

