sas
Modularised monitoring, logging, and control of robots.
Loading...
Searching...
No Matches
core.gui.common_style Namespace Reference

Variables

str COMMON_STYLE_SHEET

Detailed Description

Qt style sheet rules shared by the touchscreen GUI (`touchscreen_style`) and the camera viewer
(`camera_style`), which use the same indigo/violet theme. Each of them appends its own rules for
sizes, layout and widgets only it has.

Rules here mostly set colours and the typographic style. Sizes and padding are left to the
application sheets, so the same widget can be sized differently in each one. Some ids are only
used by one of the applications; they are listed here so that each palette (green, amber, red,
selected) is defined in a single place.

The rules are ordered so that ties in specificity (e.g. `#recordButton:hover` and
`#recordButton[state="recording"]`) resolve as the application sheets expect: bases, then hover,
then state palettes, then disabled.