Skip to content

Custom Styling & Actions

Simon Tharby edited this page Sep 27, 2020 · 2 revisions

Many UI element components are assigned ids, which may be useful for writing custom css styling.

For an example of a custom tooltip, see div#Modular_UI { ... } and div#Modular_UI:hover::after { ... } styling in style.css.

To create a custom action, add a conditional block to the action(id) function in uiActions.js with the id of the element you wish to use to call the action in the conditional statement. See existing examples in uiActions.js.

Clone this wiki locally