From 932a7db38907fb07c25f348d91c37921750a6ddb Mon Sep 17 00:00:00 2001 From: Tissevert Date: Thu, 12 Dec 2019 22:20:28 +0100 Subject: [PATCH] Generalize CSS for listSelectors and move it to the right place --- www/index.html | 12 ++++++------ www/login.css | 43 ------------------------------------------- www/screen/hall.css | 21 +++++++++++++++++++++ 3 files changed, 27 insertions(+), 49 deletions(-) delete mode 100644 www/login.css create mode 100644 www/screen/hall.css diff --git a/www/index.html b/www/index.html index 6958c04..a4cfac4 100644 --- a/www/index.html +++ b/www/index.html @@ -20,7 +20,7 @@ - + @@ -41,15 +41,15 @@

-
- - -
-
+
    +
    + +
      +
      diff --git a/www/login.css b/www/login.css deleted file mode 100644 index df7fa1b..0000000 --- a/www/login.css +++ /dev/null @@ -1,43 +0,0 @@ -/* -#join, #invite { - display: none; -} - -#join.on, #invite.on { - display: block; -} - -#leave { - display: none; -} - -#login.on #join { - display: none; -} - -#login.on #leave { - display: inline; -} -*/ - -#players { - min-height: 4em; - border: 1px solid #ccc; -} - -#players .message { - display: block; - text-align: center; - margin: 1em; - color: #555; -} - -#players .message:empty { - display: none; -} - -#players .list { - list-style: none; - margin: 0; - padding-left: 0; -} diff --git a/www/screen/hall.css b/www/screen/hall.css new file mode 100644 index 0000000..ae00337 --- /dev/null +++ b/www/screen/hall.css @@ -0,0 +1,21 @@ +.listSelector { + min-height: 4em; + border: 1px solid #ccc; +} + +.listSelector .message { + display: block; + text-align: center; + margin: 1em; + color: #555; +} + +.listSelector .message:empty { + display: none; +} + +.listSelector .list { + list-style: none; + margin: 0; + padding-left: 0; +}