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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Order of precedence<br />

Overview of CSS rules<br />

The style that you ultimately see for an element is created dynamically by the mid<br />

tier and the browser, based on a hierarchy of multiple style sheets, plus any inline<br />

styles.<br />

Styles are applied in downward order from the top of the diagram in Figure 2-1.<br />

Inline styles always override other CSS rules, and application-specific styles<br />

override system styles. The standard style sheet usually contains rules for all<br />

elements with properties that work for all browsers. The other style sheets might<br />

repeat or add a rule with different or unique properties specific to a browser client,<br />

application, locale, or user.<br />

Figure 2-1: Order of precedence for applying styles<br />

<strong>System</strong>, standard<br />

<strong>System</strong>, browser-specific<br />

Application, standard<br />

Application, browser-specific<br />

Locale-specific<br />

Properties that are not redeclared in succeeding style sheets are applied from the<br />

previous declarations. For example, suppose you have a style rule called<br />

input.text that is declared in the first four source files:<br />

<strong>System</strong> style sheet:<br />

Combined<br />

Combined<br />

User's CSS (through browser options)<br />

In-line styles (through field properties)<br />

input.text {background-color: red; color: black;}<br />

<strong>System</strong>, browser-specific style sheet:<br />

input.text {border: 1px solid green}<br />

Application, standard style sheet:<br />

input.text {font-family: Arial, sans-serif; color: blue;}<br />

Application, browser-specific style sheet:<br />

input.text {font-size: 8px; border: 2px;}<br />

Chapter 2 Customizing AR <strong>System</strong> style sheets 57

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

Saved successfully!

Ooh no, something went wrong!