From f2c7f340b4daf1247382e6199adadede379d60c8 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Feb 2011 12:33:34 -0500 Subject: [PATCH] Fix for Bug 5743, 5743 - Make login errors a little nicer Content-Type: text/plain; charset="utf-8" --- koha-tmpl/intranet-tmpl/prog/en/css/login.css | 22 ++++++++++++++++++-- koha-tmpl/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 88b8782..66fe583 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 fe2cd96..becdfe2 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
-- 1.7.3