...
To open an existing style sheet:
A style sheet for Servoy has basic style definitions and style definition classes.
The style definitions for Servoy are as follows:
Under any of these style definitions, the developer can create many style definition classes. For example, the label style definition could have the style definition classes label.title, label.small, and label.bold.
Each definition and definition class can have one or many properties associated with it. Properties specified within the style definition are inherited(cascaded) to any style definition class under it. Study the example below
Code Block |
---|
label
{
color: #993300;
border-style: solid;
font: bold 10pt Verdana;
}
label.mytext
{
color: red;
border-style: solid;
vertical-align: middle;
font: bold italic 10pt Verdana;
border-width: 1px 1px 1px 1px;
border-color: #111111 #111111 #111111 #111111;
margin: 2px 2px 2px 2px;
} |
label
{ color: #993300; border-style: solid; font: bold 10pt Verdana;
}
label.mytext
{ color: red; border-style: solid; vertical-align: middle; font: bold italic 10pt Verdana; border-width: 1px 1px 1px 1px; border-color: #111111 #111111 #111111 #111111; margin: 2px 2px 2px 2px;
}
...