Standard stilsett

Standard stilsett er en samling CSS-definisjoner som brukes av de ulike standardmalene i Imaker Echo. Endel av definisjonene kan styres ved hjelp av dropplister i designobjektet. Skal man gjøre mer avanserte endringer kan også de enkelte klasser overskrives i feltet Stilsett på samme sted.

Standard stilsett har noe icd5-kode for å sette inn valg som er gjort i designobjektet. Følgende variabler kan benyttes:

Class  currentDesign;
Class  pageTemplate;
Class  menuTemplate;
Int    fontSize;
String fontFamily;
String headingFamily;
String fontColor;
String headingColor;
String labelColor;
String captionColor;
String linkColor;
String hoverColor;
/* Default styles */
body {
  font-family: <?icd fontFamily;?>;
  font-size: <?icd fontSize;?>px;
  color: <?icd fontColor;?>;
  margin: 0px;
  padding: 0px;
}
 
td,th {
  font-size: <?icd fontSize;?>px;
}
 
h1, h2, h3, h4, h5, h6 {
  margin: 0px 0px 4px 0px;
  font-family: <?icd headingFamily;?>;
  color: <?icd headingColor;?>;
  text-decoration: none;
}
 
h1 { 
  font-size: <?icd (Int)((Float)fontSize*1.8);?>px;
}
 
h2 { 
  font-size: <?icd (Int)((Float)fontSize*1.4);?>px;
}
 
h3 { 
  font-size: <?icd (Int)((Float)fontSize*1.2);?>px;
}
 
h4, h5, h6 { 
  font-size: <?icd fontSize;?>px;
}
 
p {
  margin: 0px 0px 10px 0px;
}
 
form { 
  margin: 0px;
  padding: 0px;
}
 
img {
  display: block;
}
 
input, select, textarea {
  font-family: <?icd fontFamily;?>;
  font-size: <?icd fontSize;?>px;
  border: 1px solid #7B9CBD;
  margin: 0px;
  width: 99%;
}
 
input.iButton { 
  width: auto;
  background-color: #e7edf8;
  font-weight: bold;
  padding: 2px 6px;
  margin-top: 4px;
  float: right;
  color: <?icd fontColor;?>;
}
 
input.iCheckbox { 
  width: auto;
}
 
label { 
  font-family: <?icd fontFamily;?>;
  font-size: <?icd fontSize;?>px;
  color: <?icd labelColor;?>;  
  display: block;
  padding-top: 4px;
}
 
.iTitle {
  font-family: <?icd headingFamily;?>;
  font-size: <?icd (Int)((Float)fontSize*1.8);?>px;
  font-weight: bold;
  color: <?icd headingColor;?>;
  text-decoration: none;
}
 
.iHeading {
  font-family: <?icd headingFamily;?>;
  font-size: <?icd (Int)((Float)fontSize*1.4);?>px;
  font-weight: bold;
  color: <?icd headingColor;?>;
  text-decoration: none;
}
 
.iIntro {
  font-size: <?icd (Int)((Float)fontSize*1.1);?>px;
  color: <?icd fontColor;?>;
}
 
.iText {
  color: <?icd fontColor;?>;
}
 
.iCalendarTable {
  border-collapse: collapse;
  border: 1px solid #d4d0c8;
  width: 100%;
}
 
.iCalendarTable td {
  background-color: #e7edf8;
  border: 1px solid #d4d0c8;
  width: 14%;
  height: 50px;
  vertical-align: top;
}
 
.iCalendarTable td div {
  white-space: nowrap;
  overflow: hidden;
}
 
.iCalendarTable .iInmonth {
  background-color: #fff;
}
 
.iCalendarTable .iWeek {
  background-color: #fff;
  text-align: center;
  height: auto;
}
 
.iCalendarTable .iMonth {
  font-weight: bold;
  font-size: <?icd (Int)((Float)fontSize*1.3);?>px;
  text-align: center;
  background-color: #fff;
  height: auto;
}
 
.iCalendarTable .iDayofmonth {
  font-weight: bold;
  padding-right: 3px;
  text-align: right;
}
 
.iEventInfo { 
  width: 100%;
  background-color: #e7edf8;  
  border: 1px solid #d4d0c8;
}
 
.iEventInfo span { 
  font-weight: bold;
  padding-left: 2px;
}
 
.iEventInfo span.iMoreInfo { 
  padding-left: 20px;
}
 
br.iClear {
  font-size: 0px;
  clear: both;
  height: 0px;
  line-height: 0px;
  margin: 0px;
  padding: 0px;
}
 
.iDate, .iCaption, .iPhotographer {
  color: <?icd captionColor;?>;
  margin: 0px;
}
 
.iFile {
  clear:  both;
  margin-bottom: 5px;
}
 
.iFlashfile {
}
 
.iFrame {
  border: 1px solid #ccc;
}
 
.iFrameTitle {
  font-family: <?icd fontFamily;?>;
  font-size: <?icd fontSize;?>px;
  font-weight: bold;
  border: 1px solid #fff;
  background-color: #e7edf8;
  color: <?icd fontColor;?>;
  margin: 0px;
  padding: 2px 6px;
}
 
.iFrameContent {
  background-color: #fff;
  padding: 4px;
}
 
.iHasevents {
}
 
.iFull {
  float: none;
  margin-bottom: 8px;
}
 
.iLeft {
  float: left;
  margin-right: 8px;
  margin-bottom: 8px;
}
 
.iRight {
  float: right;
  margin-left: 8px;
  margin-bottom: 8px;
}
 
.iRight img, .iLeft img, .iFull img { 
  padding: 2px;
  border: 1px solid #4d4d4d;
  background-color: #fff;
}
 
.iNoBorder img {
  border: 0px;
  padding: 0px;
}
 
.iSearch {
  height: auto !important;
  height: 1%;
  clear: right;
}
 
a {
  color: <?icd linkColor;?>;
  font-weight: bold;
  text-decoration: none;
}
 
a:hover {
  color: <?icd hoverColor;?>;
  text-decoration: underline;
}
 
.iLink { 
}
 
.iColumnTable { 
  border-collapse: collapse;
}
 
.iColumnSpace { 
}
 
.iColumnSpaceLine { 
  background: url(/share/columnline.gif) repeat-y 50%;
}
 
.iColumnData { 
}
 
.iCompact { 
  margin-bottom: 0px;
  padding-bottom: 0px;
}
 
div.iHr {
  height: 15px;
  background: url(/share/hr.gif) repeat-x 50% 50%;
}
 
div.iHr hr { 
  display: none;
}
 
.iMore {
}
 
.SUBJECTFIELD { 
  display: none;
}
 
.iMeetingQuestion {
  padding: 6px;
  border-bottom: 1px dotted #e6e6e6;
  color: <?icd headingColor;?>;
}
 
.iMeetingAnswer {
  padding: 6px 6px 6px 12px;
}
 
input.iMeetingSkip {
  background-color: #fcc;
  margin-right: 5px;
}
 
input.iMeetingSend {
  background-color: #cfc;
  margin-right: 5px;
}
 
.iGuestAnswer {
  border: 2px solid #e6e6e6;
  padding: 6px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 10px;
}
 
* html .iGuestAnswer {
  height: 1%;
}
 
.iGuestQuestion {
  border: 1px solid #e6e6e6;
  padding: 6px;
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 10px;
}
 
* html .iGuestQuestion {
  height: 1%;
}
 
.iQAgoup {
  border: 1px solid #e6e6e6;
  background-color: #fff;
  margin-bottom: 10px;
}
 
.iQAgoup h3 {
  padding: 0px 6px;
}
 
.iQAgoup .iDate {
  padding: 3px 6px;
  border-bottom: 1px solid #e6e6e6;
  background-color: #efefef;
}
 
.iSitemap a.iSitemap1 {
  font-size: <?icd (Int)((Float)fontSize*1.4);?>px;
  font-family: <?icd headingFamily;?>;
  font-weight: bold;
  color: <?icd headingColor;?>;
  text-decoration: none;
}
 
.iSitemap li {
  list-style-image:none;
  list-style-position:outside;
  list-style-type:none;
  margin: 0px;
  padding: 0px;
}
 
.iSitemap ul {
  margin: 0px;
  padding: 0px;
}
 
.iSitemap div {
  margin-left: 16px;
}
 
.iSitemap a.iSitemap1:hover {
  color: <?icd headingColor;?>;
  font-weight: bold;
}
 
.iSitemap a.iSitemap2 {
  text-decoration: none;
  color: <?icd captionColor;?>;
}
 
.iSitemap a.iSitemap2:hover {
  color: <?icd captionColor;?>;
}
 
.iSitemap a.iSitemap3 {
  text-decoration: none;
  color: <?icd captionColor;?>;
}
 
.iSitemap a.iSitemap3:hover {
  color: <?icd captionColor;?>;
}
 
.iTemperature, .iTemperatureMinus {
  font-size: 18px;
  color: #900;
}
 
.iTemperatureMinus {
  color: #009;
}
 
/* Custom styles */