# *******************************
# *** Overriding constants
# *******************************


content {
  defaultHeaderType = 1
  wrap.header1 = <font face="{$cSet.fontFace}" size="{$cSet.size3}" color="{$cSet.color}"><b> | </b></font>
  wrap.header2 = <font face="{$cSet.fontFace}" size="{$cSet.size2}" color="{$cSet.color1}"><b> | </b></font>
  wrap.header3 = <font face="{$cSet.fontFace}" size="4" color="{$cSet.color}"><b> | </b></font>
  wrap.header4 = <font face="{$cSet.fontFace}" size="5" color="{$cSet.color}"><b> | </b></font>

  case.header1 = 
  case.header2 = 

  wrap2.header1 = 
  wrap2.header2 = 
  wrap2.header3 = 

  wrap.headerDate = <font face="{$cSet.fontFace}" size="{$cSet.size1}" color="{$cSet.color2}"><b>|:</b></font><br />

  defaultSubHeaderType = 3
  wrap.subheader1 = <font face="{$cSet.fontFace}" size="{$cSet.size2}" color="{$cSet.color}"> | </font>
  wrap.subheader2 = <font face="{$cSet.fontFace}" size="{$cSet.size1}" color="{$cSet.color}"><b> | </b></font>
  wrap.subheader3 = <font face="{$cSet.fontFace}" size="{$cSet.size1}" color="{$cSet.color2}"><b> | </b></font>

  headerSpace = 0|5
  space = 0|10
  wrap.bodytext = |<br />
  linkToTop = <div align="right"><a href="#top"><font color="{$cSet.color2}" face="{$cSet.fontFace}" size="{$cSet.size1}"><b>To top</b></font></a></div><br />
  menuWrap = <b><font color="{$cSet.color2}" face="{$cSet.fontFace}" size="{$cSet.size2}"> | </font></b>
  subMenuWrap = <b><font color="{$cSet.color1}" face="{$cSet.fontFace}" size="{$cSet.size1}"> | </font></b>
  tableCellColor = {$cSet.tableCellColor}
  tableCellWrap = <b>|</b>
  splash.bgCol = {$cSet.pageColor}
}


styles.content.textStyle {
  face = {$cSet.fontFace.text}
  size = {$cSet.size2}
  color =  {$cSet.color}
  color1 = {$cSet.color1}
  color2 = {$cSet.color2}
}

styles.content.tableStyle {
  color1 = {$cSet.color1}
  color2 = {$cSet.color2}
}

styles.content.links.wrap = <b>|</b>
styles.content.links.sword = <font color="red"><b>|</b></font>

styles.content.uploads.wrap  < content.menuWrap

styles.content.frames {
  1.bgCol = {$cSet.tableCellColor}
  2.bgCol = {$cSet.tableCellColor}
  2.borderCol = {$cSet.color}
  2.borderThickness = 1
  ruler.lineColor = {$cSet.color}
}

styles.content.imgFrames {
  bgCol = {$cSet.pageColor}
  bottomCol = black
}

styles.content.imgtext {
  captionWrap = <font face="{$cSet.fontFace}" size="{$cSet.size1}" color="{$cSet.color1}"><b> | </b></font>
}

styles.content.mailform {
  fieldWrap = 
  labelWrap = <font face="{$cSet.fontFace}" size="{$cSet.size2}" color="{$cSet.color}"><b> | </b></font>
  radioWrap = <font face="{$cSet.fontFace}" size="{$cSet.size1}" color="{$cSet.color}"><b> | </b></font><br />
  REQ.labelWrap = <font face="{$cSet.fontFace}" size="{$cSet.size2}" color="{$cSet.color2}"><b> | </b></font>
  border = 5
}

styles.content.searchresult {
  face = {$cSet.fontFace}
  size = {$cSet.size2}
  color = {$cSet.color2}
  head.face = {$cSet.fontFace}
  head.size = {$cSet.size3}
  header.wrap = <font face="{$cSet.fontFace}" size="{$cSet.size3}" color="{$cSet.color2}"><b> | </b></font>
  header.bgCol = {$cSet.tableCellColor}
}

styles.sitemap.text {
  target = 
  itemWrap < content.menuWrap
}


styles.header.gfx1 {
  bgCol = {$cSet.pageColor}
  fontColor = {$cSet.color1}
}




## Main configuration:

  # cat=cSet/color/1; type=color; label=Background color of page: This also affects the background color of graphical headers and frames on images.
cSet.pageColor = white
 # cat=cSet/color/2; type=color; label=Tablecells: Color of tablecells in content element "Tables", Background color for the frameoption of content elements, Searchresult header background color
cSet.tableCellColor = yellow
 # cat=cSet/color/3; type=color; label= "black"-color: Defines the color of all kinds of things, that normally have a dark color. Like headers, borderlines and such. Should be a dark color.
cSet.color = black
 # cat=cSet/color/4; type=color; label= Primary alternative color: Used for eg. header layout 2 and 5, Image captions and as "Color 1" in color selectors
cSet.color1 = green
 # cat=cSet/color/5; type=color; label= Secondary alternative color: Used for searchresults, "To top"-link, Headerdate, Subheader 3, content element "Menu", "Required" color in forms, and as "Color 2" in color selectors
cSet.color2 = red
 # cat=cSet/typo/1; type=small; label= Primary FontFace: The fontface used almost everywhere in <font>-tags. Exceptions are bodytext. Examples: "Times", "Verdana", "Arial"
cSet.fontFace = Arial
 # cat=cSet/typo/2; type=small; label= Text FontFace: Used for the content bodytext
cSet.fontFace.text = Arial

 # cat=cSet/typo/3; type=int[1-5]; label= Fontsize 1: Used for Headerdate, Subheader 2 and 3, "Link to top", Image captions and text for radiobuttons in forms
cSet.size1 = 1
 # cat=cSet/typo/4; type=int[1-5]; label= Fontsize 2: Used for Bodytext, Header 2, Subheader 1, content element "Menu", Labels for forms and searchresults.
cSet.size2 = 2
 # cat=cSet/typo/5; type=int[1-5]; label= Fontsize 3: Used for Header 1 and headers in search-results.
cSet.size3 = 3



TSConstantEditor.cset {
  header = Constant definitions
  description = CSET is a small collection of constants that substitutes other constants throughout the templates. // When you include the "cSet" static_template, you can focus on a few major configurations like the general colors and font faces used. These values are then globally substituted by the "cSet"-constants.// //"cSet" Contains ONLY definition of constants and is meant to be included in templates AFTER the content-rendering-template (eg. "Content (default)") is included. Often it's included in the final template after inclusion of the standard template. These constants overrides constants in static template "content (default)" and the included templates of this template. // The point of this template is to simplify configuration of content-rendering by providing a collection of constants which is used in other constants. Makes it easy to choose the same color or font throughout a template.
}
