Answering my own question:
We can override style like any other class file overriding as these resources are part of webjar. So, that is if you want to override cockpit/index.html
create a file @ below location and change as you wish
src/main/resources/cockpit/index.html
-B