diff --git a/client/css/style.css b/client/css/style.css index 7394f07a..be0a79e8 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -109,6 +109,10 @@ h2 { margin: 0; } +h1.title { + margin-bottom: 10px; +} + input { outline: 0; } @@ -749,6 +753,7 @@ button, min-width: 134px; } +#loading a, #chat a { color: #50a656; } @@ -1055,13 +1060,22 @@ button, content: "Users"; } -#sign-in label { - display: block; +#loading { + font-size: 14px; + z-index: 1; +} + +#loading p { margin-top: 10px; } -#sign-in .title { - margin-bottom: 10px; +#loading-slow { + display: none; +} + +#sign-in label { + display: block; + margin-top: 10px; } #sign-in .remember { @@ -1084,19 +1098,11 @@ button, margin-top: 1em; } -#sign-in .container { - margin-top: 120px; -} - #connect label { display: block; margin-top: 11px; } -#connect .title { - margin-bottom: 10px; -} - #connect .port:before { content: ":"; margin: 9px 0 0 -17px; @@ -1119,10 +1125,6 @@ button, margin-top: 30px; } -#settings .title { - margin-bottom: -10px; -} - #settings .opt { display: block; padding: 5px 0 10px 1px; diff --git a/client/index.html b/client/index.html index 496993f4..544d435a 100644 --- a/client/index.html +++ b/client/index.html @@ -43,22 +43,21 @@
-
-
-
-
-
-

The Lounge is loading…

-
-
-

Loading the app… Make sure to have JavaScript enabled.

- - -
+
+
+
+
+

The Lounge is loading…

+
+
+

Loading the app… Make sure to have JavaScript enabled.

+

This is taking longer than it should, there might be connectivity issues.

+
+
diff --git a/client/js/lounge.js b/client/js/lounge.js index 2ff6d519..05b92298 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -175,7 +175,8 @@ $(function() { } $("body").removeClass("signed-out"); - $("#sign-in").detach(); + $("#loading").remove(); + $("#sign-in").remove(); var id = data.active; var target = sidebar.find("[data-id='" + id + "']").trigger("click");