https://github.com/cuba-platform/sample-styled-checkbox
Example of customizing UI components via CSS
https://github.com/cuba-platform/sample-styled-checkbox
cuba-sample
Last synced: 18 days ago
JSON representation
Example of customizing UI components via CSS
- Host: GitHub
- URL: https://github.com/cuba-platform/sample-styled-checkbox
- Owner: cuba-platform
- License: apache-2.0
- Created: 2016-04-01T13:51:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-10-11T11:11:32.000Z (almost 8 years ago)
- Last Synced: 2025-10-30T04:43:54.889Z (9 months ago)
- Topics: cuba-sample
- Language: CSS
- Homepage: https://www.cuba-platform.com
- Size: 191 KB
- Stars: 0
- Watchers: 27
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Styled Checkbox
This is an example of customizing the standard CUBA UI components via CSS.
- The `StyledCheckBoxExample.java` screen controller sets an HTML caption to `com.vaadin.ui.CheckBox` which is obtained by unwrapping the `CheckBox` component.
- The `modules/web/themes/halo/halo-ext.scss` file 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/app` and log in as `admin / admin`
- Open *Application* > *Styled checkbox example*.
Based on CUBA Platform 6.10.1
## Issues
Please use https://www.cuba-platform.com/discuss for discussion, support, and reporting problems coressponding to this sample.