Localize Sterling Business Center UI themes

You can localize Sterling Business Center UI themes according to the standards of your location.

About this task

The Look and Feel (which include themes, images, and icons) of the UI in the Web UI Framework is CSS file-driven.

You can add, override, or modify CSS entries by providing the locale specific CSS files. The default theme CSS files provided by Sterling Business Center are present in:


<INSTALL_DIR>/repository/eardata/sbc/war/sbc/resources/core/css
Note: To override the CSS entries irrespective of the dependency on the existing CSS file, add the custom themes.

To provide CSS entries for a locale:

Procedure

  1. You need to place a new file with same name in the following directory:

    <INSTALL_DIR>/repository/eardata/sbc/war/localization/<locale>/sbc/resources/core/css

    where <locale> is in the format <language_code>/<country or region_code>/<variant>. Note that <variant> is optional.

    For example, <INSTALL_DIR>/repository/eardata/sbc/war/localization/en/US/EST/sbc/resources/core/css/sbc.css.

  2. Add CSS entries in the new file.

    For example, to localize the theme of the title in the screen title panel, add the following entry:

    
    .sc-screen-title .sbc-titlebar label {
       background:none repeat scroll 0 50% # FFFF66;
       color #7A991A;
       display:block;
       font-family: Comic Sans MS;
       font-size: 15pt;
    }
    
  3. Rebuild the Enterprise Archive (EAR) file.