Skip to content

Themeables (unofficial)

Minh Duc Vo edited this page May 10, 2019 · 1 revision

Hestia itself, at the time of writing (d2fbecf90745c0cf483dc21a8235658d5f2e535f), allows for minimal theming. The CSS class names are as follows:

  • submission_AC : submissions (which, under the hood, is Material-UI's TableRows) that have AC verdict.
  • Same as above for WA, RTE, TLE or Pending.
  • Verdicts that doesn't belong to any category above is unsupported.

In #135, theming is also available for scores in TableCells. The classNames are like Submissions, but prefixed with score_ instead of submission_, like score_AC, score_WA, etc.

The clock on the navigation bar also allows the same thing. It is implemented as a disabled Button, and thus it has several pre-configured CSS rules.

The class name of the clock changes like this :

  • clock-notstarted : when the contest isn't started.
  • clock-inprogress : when the contest is running.
  • clock-ended : self-explanatory, indeed.
Clone this wiki locally