From 98ec7eb0a3a0fe99d1a5556fd262cae4c779733c Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Tue, 27 Apr 2010 20:25:21 +0000 Subject: [PATCH] Minor improvements to the login page. Monotone-Parent: e12ac2a35b8eb7888e4c254ece63a208670ac15c Monotone-Revision: 6d28caee4a9a2f2e6ecf18547bce78e7d67bf755 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2010-04-27T20:25:21 Monotone-Branch: ca.inverse.sogo --- UI/WebServerResources/SOGoRootPage.css | 2 +- UI/WebServerResources/SOGoRootPage.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/WebServerResources/SOGoRootPage.css b/UI/WebServerResources/SOGoRootPage.css index 2ec3f557f..93aa084f6 100644 --- a/UI/WebServerResources/SOGoRootPage.css +++ b/UI/WebServerResources/SOGoRootPage.css @@ -36,7 +36,7 @@ A:link, A:visited { color: #54b948; } -DIV#aboutBox DIV A.button +DIV A.button { color: #000; } DIV#aboutBox P.logo diff --git a/UI/WebServerResources/SOGoRootPage.js b/UI/WebServerResources/SOGoRootPage.js index fa65003f6..cc58cfd42 100644 --- a/UI/WebServerResources/SOGoRootPage.js +++ b/UI/WebServerResources/SOGoRootPage.js @@ -192,10 +192,10 @@ function showPasswordDialog(dialogType, constructor, parameters) { dialogs[dialogType] = dialog; } var password = $("password"); - var offsets = password.cumulativeOffset(); + var offsets = password.positionedOffset(); dialog.show(); - var top = offsets[1] + 5; - var left = offsets[0] + password.clientWidth - dialog.clientWidth; + var top = offsets[1] - 2; + var left = offsets[0] + 10 - dialog.clientWidth; dialog.setStyle({ "top": top + "px", "left": left + "px"}); }