From 41d166c7912048fe1bdbf186fb68b9fc617ae2f1 Mon Sep 17 00:00:00 2001 From: oldmud0 Date: Tue, 22 May 2018 23:29:03 -0500 Subject: Improve connection error dialog --- webAO/client.css | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'webAO/client.css') diff --git a/webAO/client.css b/webAO/client.css index 0dc1999..3b770e9 100644 --- a/webAO/client.css +++ b/webAO/client.css @@ -11,8 +11,9 @@ img { } @keyframes error_blink { - 0% { color: red; } - 100% { color: white; } + 0% { color: white; } + 50% { color: red; } + 100% { color: white; } } .error { @@ -23,15 +24,17 @@ img { left: 50%; margin-right: -50%; transform: translate(-50%, -50%); - justify-content: center; display: flex; - align-content: center; margin: 0 auto; + justify-content: center; + align-content: center; align-items: center; - background: red; + text-align: center; + background: #4e0e00; color: white; - font-size: 4em; - animation: error_blink 0.5s linear infinite; + font-size: x-large; + animation: error_blink 0.5s ease-in-out infinite; + z-index: 3; } #client_loading { -- cgit