Document state classes uses in CSS

Makes it a bit easier to understand all the magic in this CSS.
This commit is contained in:
Pierre Ossman 2022-09-15 10:39:21 +02:00
parent efb2400833
commit 32f9033863
1 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,18 @@
* 10000: Max (used for polyfills)
*/
/*
* State variables (set on :root):
*
* noVNC_touch: Device has touch input
*
* noVNC_loading: Page is still loading
* noVNC_connecting: Connecting to server
* noVNC_reconnecting: Re-establishing a connection
* noVNC_connected: Connected to server (most common state)
* noVNC_disconnecting: Disconnecting from server
*/
body {
margin:0;
padding:0;