Skip to content

Handling CSS

Will Rogers edited this page Oct 13, 2020 · 3 revisions

See also Alarm sensitivity and this issue.

EPICS UI definitions tend to mix style and content: e.g. colour, position and PV name are all properties of a widget.

In cs-web-proto we will need to contribute styles from different contexts:

  • hard-coded into the function of a widget
  • default styles that may be overridden
  • site-wide styles to change the look and feel of a screen

We will also need to handle positioning differently depending on context: are we rendering widgets by pixel or standard CSS layouts?

Clone this wiki locally