Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

Overview

CSS Classes can be used to change the layout of either a variable or an entire variable group. In order to create custom classes, knowledge of CSS is required.  However some common CSS classes are defined below and can be used as is or easily modfied.

Content

A CSS class is defined on the Global Code tab of the Project Update page in the Styles (Css) section.  The text in the Content column of the table below can be pasted into the Styles (Css) section.  The CSS Class can then be used within the project at the Variable or Variable Group level.  If using any of the examples below, the value in the CSS Class Name column is specifed in the variable or variable group CSS Class field. 

Examples:

CSS Class Name

Description

Content

NoAnswer

Hides the answer for a variable. 
Use this CSS Class when creating a variable
that is a note or instructions.

.NoAnswer .AnswerPanel 
{  
     display: none;
}

RedBackground

Displays a red background for the variable.

to create a CSS class with a different color background you would change the CSS Class name and the hexadecimal value to the desired color


.RedBackground 
{
    background: #FF0000; 
}

WhiteFont

Displays the text with a white font

.WhiteFont

  color: #FFFFFF;
}

Font12

Displays the text with 12point font-size

.Font12
{
  font-size: 12pt;
}

  • No labels