This is an example of customizing the standard CUBA UI components via CSS.
StyledCheckBoxExample.javascreen controller sets an HTML caption to
com.vaadin.ui.CheckBoxwhich is obtained by unwrapping the
modules/web/themes/halo/halo-ext.scssfile contains the CSS code for the component.
To see the example in action, do the following:
- Open the project in Studio
- Click Run > Start application server
- If you see the warning Database does not exist ..., click Create DB in background
- Go to
http://localhost:8080/appand log in as
admin / admin
- Open Application > Styled checkbox example.
Based on CUBA Platform 6.10.1
Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.