From 70295110298dd673858ba93536d28ce713e8fc11 Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Sat, 14 Mar 2015 21:10:19 +0100 Subject: [PATCH] Style the reconnect banner, clean up apply usage --- css/glowingbear.css | 8 +++++--- index.html | 8 +++++--- js/connection.js | 4 +++- js/websockets.js | 1 - 4 files changed, 13 insertions(+), 8 deletions(-) diff --git a/css/glowingbear.css b/css/glowingbear.css index bd3e08d..64b4f65 100644 --- a/css/glowingbear.css +++ b/css/glowingbear.css @@ -267,11 +267,13 @@ td.time { top: 35px; position: fixed; z-index: 9999; - background-color: #eee; - color: #333; - width: 100%; + width: 80%; margin: 0; padding: 5px; + left: 10%; +} +#reconnect a { + color: white; } .footer { diff --git a/index.html b/index.html index 8946e3b..adad7ef 100644 --- a/index.html +++ b/index.html @@ -289,15 +289,17 @@ $ openssl req -nodes -newkey rsa:4096 -keyout relay.pem -x509 -days 365 -out rel -
- Reconnecting... Try now -
+
+

Connection to WeeChat lost

+ + Reconnecting... Click to try to reconnect now +