Back Forward Rules Inspector — Working with the Style Discovery tool

The Style Discovery toolbar appears whenever the Styles option is checked and a report display or work object form is visible. Select Run > Rules Inspector > Styles again to disable the Style Discovery toolbar.

NoteAs a best practice, build your application skin (using the Application Skin wizard) before you develop harness, section, or flow action rule. Then update your preferences to reference that skin rule in the Skins field of the Run Process In group of your General preferences. See Developer Portal — Setting preferences.

AdvancedUsing these facilities, you can determine which styles are in force for each element on a form; experiment with temporary modifications to the styles; apply additional CSS files, and save (on your workstation) the temporary experimental changes you like, for later use in updating CSS rules.

This is an advanced debugging and analysis tool. Familiarity with CSS, HTML, and cascading styles is required. Only minor, local changes can be

No rules are permanently altered as you use this feature. When you disable the Style Discovery tool, your temporary changes are lost. Before disabling the tool, click View Updated Style to remember your changes, so you can later update a style sheet text file rule to reflect the style changes that you want to keep.

cAutionDo not update any CSS text file rules created or maintained by the Application Skin wizard, as any such changes will likely prevent later use of the Application Skin wizard on these rules. Instead, create a separate CSS as a text file rule and reference it on the Scripts and Styles tab of each harness rule to be affected.

Icon

Purpose

Style Inspector

Select and slowly drag the grab area to move the Style Inspector toolbar to another location within the portal. Drop the toolbar in a location away from the work object form elements of interest.

Smart Info

(no icon)

Place and hold the mouse pointer over any element of the form to see a pop-up SmartInfo window identifying the HTML tag and all CSS properties of that tag, including a style name (if any) and CSS properties.

To temporarily override a CSS property setting, type a new value in the Value column and click Apply. This feature allows you to experiment with changes; you are not altering any rules. For example, you can change the color attribute value from #0c3879 to #0000FF (blue).

To see the enclosing tag and its styles, click the Up icon (Up). To return to a previously displayed enclosed tag after using the Up icon, click the Down icon (Down )

If the selected element does not directly have a style, your change is applied only to the single selected element, as a <SPAN STYLE= ..."> element. If the selected element has a style, your change temporarily supplements the current (permanent) style definition.

NoteBecause the net effect of styles are cascaded from multiple style definitions, clearing or changing a CSS property value may in some cases have no visible effect, as a higher-level CSS definition defines the same appearance.

Style Explorer Search

Click to open a pop-up window that starts the Style Explorer. The window lists all style sheets currently in force for your session, in cascading order; the last CSS to be applied appears at the bottom of the list.

In some cases, multiple individual CSS files may be bundled into one longer file, to reduce network traffic between the Process Commander server and your browser. Click Unbundle if to see the CSS files listed individually.

You can temporarily supplement the current CSS files that apply to the current work object form by selecting a Text File rule (from those with a File Type of CSS) and clicking the Add button. The added CSS appears at the bottom of the list and is applied last.

Click the Include check boxes to alter which styles are in force. (If the CSS files are bundled, all styles in the bundle are applied.)

Click Change to refresh the work object form or report display with the updated style sheets.

pop-up toggle

SmartInfo

Click to disable SmartInfo display of CSS styles and properties. Click again to enable the display.

Search tool

Updated Style

Click to open a pop-up window that support searching for styles using text matching. You can search through the selectors (style "names") or through the style definitions. Enter a text string in the Search Styles input box; then check the By Selector box or the By Definition box (or both). Click Search.

For example, if a CSS text file rule contains the following definition:

.yui_button { display:inline-block ... }

then this style is found if you search for By Selector values containing "utton", and is also found if you search for By Definition values containing "inline-block".

Search examines all styles in (unbundled) CSS files listed by the Style Explorer.

Each search hit is presented as a link. Click a link to open the corresponding style definition. You can edit the style definition directly; such changes are only temporary.

View Updated Style

Click to list the styles that you have temporarily altered or redefine with this tool. If you have altered a style more than once, it appears multiple times in the list, with the latest change appearing last.

To remember these changes, click the Copy all link on this form to copy this page to your Windows clipboard. You can save this (using NotePad) as a local text file, and refer to it when you create or update a CSS text file rule.

Related topics Understanding CSS styles
About Field Value rules

zzz Tools, accelerators, and wizards