24.04.2013 Views

BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...

BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...

BMC Remedy Action Request System 7.6.04: BMC Remedy Mid Tier ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>BMC</strong> <strong>Remedy</strong> <strong>Action</strong> <strong>Request</strong> <strong>System</strong> <strong>7.6.04</strong><br />

Using customized style sheets<br />

60 <strong>BMC</strong> <strong>Remedy</strong> <strong>Mid</strong> <strong>Tier</strong> Guide<br />

You can add your own style sheet to override the rules defined in system style<br />

sheets. A customized style sheet can change the appearance of the application in<br />

the browser, including fonts, labels, colors (including background, text, and link<br />

colors), menu styles, button styles, and trim lines. For example, if you want an<br />

application to include your corporate standard for colors and fonts, use a<br />

customized style sheet to reflect your corporate styles.<br />

In the following example, the colors for trim link text and trim link hover text have<br />

been changed from their default values in the AR<strong>System</strong>.css style sheet.<br />

a.TrimLink {<br />

text-decoration:underline;<br />

color:navy;<br />

}<br />

a.TrimLink:hover {<br />

color:#cccccc;<br />

If you modify the installed AR<strong>System</strong>.css files in the installed locations, (see<br />

Table 2-1), the changes are applied to all applications running on that mid tier.<br />

To associate the customized style sheet with a specific application only, save the<br />

style sheet to a directory accessible to the mid tier, for example, in the<br />

mid<strong>Tier</strong>InstallDir\resources directory tree. Then use the following procedure<br />

to associate the style sheet to the application.<br />

TIP<br />

If you name the customized style sheet with a unique name, such as mystyle.css,<br />

you can save it in the default directory structure. This is helpful if you need to store<br />

different versions of your custom style sheet to accommodate browser-specific<br />

settings. If you want to use a customized style sheet named AR<strong>System</strong>.css but<br />

apply the changes to a specific application only, then you must create a parallel<br />

directory structure for the customized style sheet.<br />

To apply a customized style sheet to a web application<br />

<br />

1 Log in to <strong>BMC</strong> <strong>Remedy</strong> Developer Studio on the computer where the mid tier is<br />

installed.<br />

2 Expand All Objects > Applications, and then open the application you want to<br />

work with.<br />

3 Expand the Support Files panel for the application.<br />

4 Select the resources directory level.<br />

5 Click Create Directory and add the necessary directory levels to include the<br />

directory where your resources file is installed, as shown in Figure 2-2.<br />

By default, Developer Studio does not display the existing resources directory<br />

structure. You must use Create Directory to select each level in the existing<br />

directory structure.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!