cssgwtcustomizationsmartgwtskin

Customization of the theme of several GWT modules


I have several modules with smartGWT using the same visual theme. Have I to create my own CSS-file and there overwrite necessary classes? If I plug this file to the host-pages of the modules, will my styles always override the standard themes classes?


Solution

  • I used to override somme native style in my css file, the only care I take is to add !important to force my style whatever style is apply by the framework For exemple:

    .formTitle,.formTitleFocused,.formTitleDisabled {
    font-family: Arial, Verdana, sans-serif !important;
    font-size: 11px !important;
    color: black !important;
    

    }

    .splitbar:hover  {
    cursor: e-resize !important;
    

    }

    Hope it could help..