Customize your Genero Web Client application / Customize with Cascading Style Sheets (CSS) |
A collection of cascading style sheets are used with the HMTL5 theme. Be sure that you modify the correct style sheet.
The default template for the HTML5 theme, $FGLASDIR/tpl/SetHtml5/main.xhtml, includes these stylesheet links:
... <link href='{resourceuri("css_normalize.css", "SetHtml5")}' rel='stylesheet' type='text/css' /> <link href='{resourceuri("css_main.css", "SetHtml5")}' rel='stylesheet' type='text/css' /> <link href='{resourceuri("css_layout.css", "SetHtml5")}' rel='stylesheet' type='text/css' /> <link href='{resourceuri("css_theme.css", "SetHtml5")}' rel='stylesheet' type='text/css' /> <link href='{resourceuri("css_customisation.css", "SetHtml5")}' rel='stylesheet' type='text/css' /> ...
When you resolve the references, these files are located in $FGLASDIR/tpl/SetHtml5/.
You override the HTML5 theme styles by adding your customization to css_customization.css. To identify which styles you can override, examine the entries in css_theme.css. The css styles have a suffix of "-style".
.document-style { font-size: small; color: #333333; background-color: white; }
.document-style { background-color: whitesmoke; }
Only list the style attributes you wish to override.