/**
 * ELLECTRA-WeB
 * UML_2_JSF.0: Generates css style sheets - ePP specific
 * Authors: Thomas Dimakopoulos, Intrasoft
**/

texttransformation ePPGUIGenerateCSS (in uml:"http://www.eclipse.org/uml2/2.1.0/UML") {

/***********************************
* Commission css
***********************************/
uml.Class::web_css_generateCommission(pName:String)
{
  file(pName)
   '/* BODY APPEARANCE */
body {
	background-color: #FFFFFF;
	color: #000000;
	margin: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

/* DEFAULT LINK*/
a:link {
	color: #FFFFFF
}

a:visited {
	color: #FFFFFF
}

a:active {
	color: #999999
}

/* STANDARD ELEMENTS APPEARANCE */
	/* Banner, important legal notice and languages */
.backgroundbanner {
	background-color: #3399CC;
	color: #FFFFFF;
}

.backgroundnotice,.backgroundnotice a:link,.backgroundnotice a:visited,.backgroundnotice a:hover
	{
	font-family: Arial, Helvetica, sans-serif;
	background-color: #3399CC;
	color: #FFFFFF;
	font-size: 0px;
	text-decoration: none;
}

.formlang {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	margin: 0px;
	padding: 0px;
}

.language,a.language:link,a.language:visited,a.language:hover,a.language:active
	{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: bold;
	color: #ffffff;
	text-decoration: underline;
	background-color: #3399CC;
}

.languagenolink {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	background-color: #3399CC;
}

.langsel {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}

@media print {
	img.resize {
		width: 150px
	}
}

/* COLOUR LINE */
.yellowline {
	background-color: #ffff00;
}

/* NAVIGATION PATH */
.navigation,a.navigation:link,a.navigation:visited,a.navigation:active {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	font-style: normal;
	background-color: #330099;
}

a.navigation:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: underline;
	font-style: normal;
	background-color: #330099;
}

/* TOOLS SECTION */
.compulsorytools,a.compulsorytools:link,a.compulsorytools:visited,a.compulsorytools:active
	{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	font-style: normal;
	background-color: #330099;
}

a.compulsorytools:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: underline;
	font-style: normal;
	background-color: #330099;
}

/* OTHER TOOLS */
.toolslinks,a.toolslinks:link,a.toolslinks:visited,a.toolslinks:active {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #330099;
	font-weight: normal;
	text-decoration: none;
	font-style: normal;
	background-color: #FFFFFF;
}

a.toolslinks:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #330099;
	font-weight: normal;
	text-decoration: underline;
	font-style: normal;
	background-color: #FFFFFF;
}

/* BOTTOM NAVIGATION */
.bottom-navigation,a.bottom-navigation:link,a.bottom-navigation:visited,a.bottom-navigation:active
	{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #999999;
	text-decoration: none;
	font-style: normal;
	font-weight: normal;
	background-color: #FFFFFF;
}

a.bottom-navigation:hover {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #999999;
	text-decoration: underline;
	font-style: normal;
	font-weight: normal;
	background-color: #FFFFFF;
}

.bottom-separator {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #666666;
	font-weight: normal;
	text-decoration: none;
	font-style: normal;
	background-color: #FFFFFF;
}

/* DATE OF LAST UPDATE */
.dateupdate {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 70%;
	color: #000000;
	font-weight: normal;
	font-style: normal;
	margin-left: 25px;
}

/* Classes from old versions of the template */
.backgroundtoolslinks {
	background-color: #FFFFFF;
}

.backgroundnavigation {
	background-color: #330099;
}

.taille-zero {
	font-size: 0px;
}

.rubric {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
	color: #FFFFFF;
	text-decoration: none;
	font-style: normal;
	background-color: #330099;
}

/* CONTENT AREA APPEARANCE */
.text1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	color: #000000;
	font-weight: normal;
	font-style: normal;
}

.text1-b {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	color: #000000;
	font-weight: bold;
	font-style: normal
}

.text2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 120%;
	color: #000000;
	font-weight: normal;
	font-style: normal;
}

.text2-b {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 120%;
	color: #000000;
	font-weight: bold;
	font-style: normal;
}

.title1 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 200%;
	font-weight: bold;
	color: #000000;
	font-style: normal;
}

.title2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 175%;
	font-weight: bold;
	color: #000000;
	font-style: normal;
}

.title3 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 150%;
	font-weight: bold;
	color: #000000;
	font-style: normal;
}

.title4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 125%;
	font-weight: bold;
	color: #000000;
	font-style: normal;
}
    	
'
}


/************************************
 * Ellectra css
 ***********************************/
uml.Class::web_css_generateEllectra(pName:String)
{
  file(pName)
'/* OVERRIDES SOME ATTRIBUTES OF RULES IN COMISSION.CSS */

.navigation, a.navigation:link, a.navigation:visited, a.navigation:active {
   font-weight: normal!important;
   text-decoration:none!important;
}

a.navigation:hover {
   font-weight: normal!important;
   text-decoration:none!important;
   color:#FFFFCC!important;
}

.compulsorytools {
   font-weight: normal!important;
   text-decoration:none!important;
}

a.compulsorytools:link, a.compulsorytools:visited, a.compulsorytools:active {
   font-weight: normal!important;
   text-decoration:underline!important;
}

a.compulsorytools:hover {
   font-weight: normal!important;
   text-decoration:underline!important;
   color:#FFFFCC!important;
}

.toolslinks, a.toolslinks:link, a.toolslinks:visited, a.toolslinks:active {
   font-weight: normal!important;
   text-decoration:none!important;
}

a.toolslinks:hover {
   font-weight: normal!important;
   text-decoration:none!important;
   color:#ADB88E!important;   
}

body {
   padding:0px;
   background-color: #FFFF99 !important;
   margin-top: 10px !important;
   margin-left:0px !important;
   margin-right:0px !important;
   margin-bottom:0px !important;
   background-image:url(''images/backgr2.gif'') !important;
}
/* END */


/* CUSTOM RULES FOR APPLICATION */

.tbl1 {
   border-style: solid;
   border-width: 1px;
   border-color: #330099;
   background-color: #FFFFFF;
}

.tbl2 {
   border-style: solid;
   border-width: 1px;
   border-color: #330099;
   background-color: #FFFFFF;
}   

.tbl3 {
   border-style:solid;
   border-width:1px;
   border-color:#D2D6DC;
   background-color: #FFFFFF;
}

.tbl4 {
   border-style:solid;
   border-width:1px;
   border-color:#EDF1F1;
   background-color: #FFFFFF;
}

.tbl5 {
   border-style:solid;
   border-width:1px;
   border-color:#D2D6DC;
}

.title11bw {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: bold;
   color: #FFFFFF;
   background-color:#666666;
}

.title11bw a:hover {
  color:#FFFFFF!important;
}

.title11bw a:visited {
  color:#FFFFFF;
}

.title11bw a:active {
  color:#FFFFFF;
}

.title11bw a:link {
  color:#FFFFFF;
  text-decoration:none!important;
}

.title11bwg {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: bold;
   color: #FFFFFF;
   background-color:#B3B7BC;
}

.title14bb {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: bold;
  color:#000066;
  background-color: #FFFFFF;  
}

.text11bb {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: bold;
   color: #000066;
   background-color:#EDF1F1;
}

.text11nbc {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: normal;
   color: #000066;
   background-color:#E2E6E6;
}

.text11nbc a {
  font-family:Arial,Sans-Serif;
  font-size:11px;
  font-weight:normal;
  color:#000066;
  background-color:#E2E6E6;  
}

.text11nbc a:hover {
  color:#ADB88E!important;
}

.text11nbc a:visited {
  color:#000066;
}

.text11nbc a:active {
  color:#000066;
}

.text11nb {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: normal;
   color: #000066;
   background-color:#EDF1F1;
}

.text11nb a {
  font-family:Arial,Sans-Serif;
  font-size:11px;
  font-weight:normal;
  color:#000066;
  background-color:#EDF1F1;  
}

.text11nb a:hover {
  color:#ADB88E!important;
}

.text11nb a:visited {
  color:#000066;
}

.text11nb a:active {
  color:#000066;
}

.text11nb a:link {
  color:#000066;
}

.text11n {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: normal;
  color: #000066;
  background-color: #FFFFFF;
}

.text11n a {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: normal;
  color: #000066;
  background-color: #FFFFFF;
}

.text11n a:hover {
  color: #ADB88E!important;
  background-color: #FFFFFF;  
}

.text11n a:visited {
  color: #000066;
  background-color: #FFFFFF;  
}

.text11n a:active {
  color: #000066;
  background-color: #FFFFFF;  
}

.text11n a:link {
  color: #000066;
  background-color: #FFFFFF;
}

.mbtn {
   font-family: Arial, Helvetica, sans-serif;
   font-size:8px!important;
   color:#666666!important;
   background-image:url(''images/btnb.gif'');
   background-repeat: repeat-x;   
   text-transform:uppercase; 
}

.mbtn a:link {
   color:#666666;
   text-decoration:none!important;
}

.mbtn a:active {
   color:#666666;
   text-decoration:none!important;
}

.mbtn a:visited {
   color:#666666;
   text-decoration:none!important;
}

gridstyle {
	background-color: #EDF4DD; 

}

.gridstyle {
	background-color: #EDF4DD; 

}

buttonstyle {
	 font-size: small;
height: 24px;
}

.buttonstyle {
	 font-size: 9px;
height: 24px;
}

textboxstyle {
	 
height: 16px;
}

.textboxstyle {
	 
height: 16px;
}

.msgstyle {
color: Red;
}

.checkBoxStyle {
	width: 5px;
	text-align: center;
}

.numberingStyle {
	width: 5%;
	text-align: left;
}

.none {}


.callColumn {
        width: 150px;
        text-align: left;
}

.mbtn a:hover {
   color:#999999;
   text-decoration:none!important;
}

.input11nb {
   font-family: Arial, Helvetica, sans-serif;
   font-size: 11px;
   font-weight: normal;
   color: #000066;
   background-color:#FFFFFF;   
}

.select11n {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: normal;
  color: #000066;
  background-color: #FFFFFF; 
}

.sep {
  width:1px;
  background-image:url(''images/wb.gif'');
  background-repeat:repeat-y;
}


a.button {
	text-align: center;
        vertical-align: middle;
font-size: 10px;
font-weight: bold;
text-decoration: none;
margin:2px;
background:#848381;
color: #ffffff;
border:1px solid #000000;
cursor:pointer;
}'
}

}