Page History
...
In NGClient, Sevoy specific selectors such as:
Code Block |
---|
label.bold {
font-weight: bold;
} |
should become
Code Block |
---|
.bold {
font-weight: bold;
} |
If there are cases where the bold class is defined for two different components and their implementation is also different, then the following example
Code Block |
---|
label.bold { font-weight: bold; } field.bold { font-weight: 900; } |
...
Code Block |
---|
.label_bold { font-weight: bold; } .field_bold { font-weight: 900; } |
Then After that, the styleClass property of the elements should be changed from "bold" to "label_bold" or "field_bold".
...
In the webclient, the font-size property is changed at runtime, so in order to keep the same runtime sizes in the NGClient, the css files should be updated just like in the following examplesusing the following functions:
for sizes specified in pt:
ngclient_value = 3/4 * webclient_value
for sizes specified in px:
ngclient_value = 4/3 * webclient_value
For example:
Code Block |
---|
field.label { font-size: 20pt; } field.textfield { font-size: 20px; } |
should become
Code Block |
---|
.field_label { font-size: 15pt; } .field_textfield { font-size: 26px; } |