From 3a83dc79c570eb8e376d617740bf10dc1d823271 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Feb 2011 01:14:11 -0500 Subject: [PATCH] Fix for Bug 5743, 5743 - Make login errors a little nicer Signed-off-by: Nicole Engard Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/css/login.css | 22 ++++++++++++++++--- .../intranet-tmpl/prog/en/modules/auth.tmpl | 6 ++--- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/login.css b/koha-tmpl/intranet-tmpl/prog/en/css/login.css index 88b878294c..5ed2c64921 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/login.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/login.css @@ -20,7 +20,7 @@ a:hover { } body { - background: #f9fcfe; + background: #f5f5f5; } form, label input { @@ -52,13 +52,29 @@ label { } #login #login_error { - background: #c00; + background: #D23F3F; border: 1px solid #a40000; color: #fff; - font-size: 16px; + font-size: 120%; + line-height: 140%; font-weight: bold; + margin: 1em 0; padding: .5em; text-align: center; + text-shadow: 0px 1px 1px #6C1010; + filter: dropshadow(color=#6C1010, offx=0, offy=1); + -moz-border-radius: 5px; + border-radius: 5px; +} + +#login #login_error a:link, +#login #login_error a:visited { + color : #FFC; +} + +#login #login_error a:hover, +#login #login_error a:active { + color : #FCFC4D; } #login h1 { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tmpl index fe2cd968f0..becdfe2a71 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/auth.tmpl @@ -16,15 +16,15 @@

Koha

-
Error: Unauthorized userclick to log out
+
Error: You do not have permission to access this page. Click to log out
-
Error: Session timed out, please log in again
+
Error: Session timed out.
Please log in again
-
Error: IP address has changed, please log in again
+
Error: IP address has changed. Please log in again
-- 2.39.5