Skip to content

Handling CSS

Will Rogers edited this page Sep 6, 2019 · 3 revisions

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?

I will discuss this at more length in [a wiki page]

Clone this wiki locally