Hi all,We are actively moving away from GWT and towards react [https://reactjs.org/] in webadmin, so the CSS needs to be in a place where both can access it.
Moving forward, please avoid using any and all of GWT's CSS features when working in webadmin. This new(ish) place is sass: [https://github.com/oVirt/ovirt-engine/tree/master/ ]frontend/brands/ovirt-brand/ src/main/sass Sass is easy to use, and hopefully the structure makes sense.So --don't use<ui:style>nor addStyleNames="{style.whatever}"> instead,<g:FlowPanel ui:field="xyz" addStyleNames="prefix_className"> more examples here [1](prefix == the sass file name)
For programmatic manipulation, simply hardcode style names in Java code and don't use GWT's Style:widget.addClassName("notif_someClassName") etc.Best wishes,GregSass package:
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/ message/ G4XP5R7RPVNRCDDAX56EM3DK4BVXWJ F2/