You can view a list of styles in your project that have not yet been applied to content in any files. If you do not use a particular style class, you can remove it from the stylesheet. You can also use the "disable" feature to hide styles that you do not want to be displayed in the stylesheet; you can access this feature from the Options drop-down button in the local toolbar of the Stylesheet Editor.
How to View Unused Styles
Select Analysis > More Reports > Unused Items.
The Unused Items window pane opens, which lets you view various unused elements in the project (such as bookmarks, condition tags, content files, CSH IDs, images, variables, styles, file tags, and topics not linked).
- Click the drop-down field at the top of the window pane and select Unused Styles. The unused styles in the project are listed.
To see more of the information in the window pane, drag the divider bar to make the pane wider:
- Selector Displays the name of the parent style, followed by a period and the name of the class under that style (e.g., p.tip).
- Declarations Displays any property settings that you have set for the style class.
- File Displays the name of the file.
- If a certain number of items have been found, page navigation buttons in the local toolbar may be enabled. You can use these buttons to go to additional pages to display more items.
- If you want to remove any unused styles from Flare, as well as from the project being analyzed, select the style in the list and click in the local toolbar.
You can open the stylesheet for any style in the list to view or modify it in the Stylesheet Editor.
Note You can also include this information in reports that you create.