From 6c3e4fa5a674063e61fb92f5d9001649476c9cc0 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Fri, 26 Feb 2016 18:10:32 +0100 Subject: Replace several alerts with friendlier messages --- css/codeq.css | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'css') diff --git a/css/codeq.css b/css/codeq.css index 87f599c..3ae5871 100644 --- a/css/codeq.css +++ b/css/codeq.css @@ -110,6 +110,17 @@ form { margin-bottom: 0; } +form .error { + color: red; +} + +form .success { + color: green; + margin-top: 1em; + margin-bottom: 0.5em; + text-align: center; +} + div#disabled { background-color: rgba(0, 0, 0, 0.7); cursor: wait; @@ -121,14 +132,10 @@ div#disabled { } /* modal screens*/ -#screen-login, #screen-signup, #screen-change-pass, #screen-settings, #screen-upgrade-to-aai { +#screen-login, #screen-signup, #screen-change-password, #screen-settings, #screen-upgrade-to-aai { padding: 15px 0; } -#screen-login div.login-failed { - color: red; -} - /* screen language */ #screen-language { margin-top: 4em; -- cgit v1.2.1