summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-12 17:08:53 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-12 17:08:53 +0000
commit75527db81f47219882d9e1cedeebf406c99d0cf6 (patch)
tree555e0973847d25200915697050fc1ddf043cac27
parent2019e9a931ffde9b2358241aa1844b4a826a76f9 (diff)
Clean up alignment in the login menu when the login form is displayed
-rw-r--r--themes/default/css/screen.css2
-rw-r--r--themes/default/js/login.js12
-rw-r--r--themes/default/views/header.html.php2
3 files changed, 9 insertions, 7 deletions
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 81b15bd2..1dee6f35 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -363,6 +363,7 @@ table.gMetadata td.toggle {
float: right;
margin-right: 10px;
padding: 5px;
+ text-align: right;
}
#gLoginMenu form {
margin-top: 5px;
@@ -600,6 +601,7 @@ table.gMetadata td.toggle {
.gDisplayNone {
display: none;
}
+
/**
** *******************************************************************
* 8) Browser hacks
diff --git a/themes/default/js/login.js b/themes/default/js/login.js
index bc18fe41..a598f39a 100644
--- a/themes/default/js/login.js
+++ b/themes/default/js/login.js
@@ -1,11 +1,11 @@
function show_login() {
- $("#gLoginLink").fadeOut("fast");
- $("#gLoginForm").fadeIn("fast");
- $("#gLoginClose").fadeIn("fast");
+ $("#gLoginLink").css({display: "none"});
+ $("#gLoginForm").css({display: "block"});
+ $("#gLoginClose").css({display: "inline"});
}
function close_login() {
- $("#gLoginLink").fadeIn("fast");
- $("#gLoginForm").fadeOut("fast");
- $("#gLoginClose").fadeOut("fast");
+ $("#gLoginLink").css({display: "inline"});
+ $("#gLoginForm").css({display: "none"});
+ $("#gLoginClose").css({display: "none"});
} \ No newline at end of file
diff --git a/themes/default/views/header.html.php b/themes/default/views/header.html.php
index c09c11ef..ba16a5fb 100644
--- a/themes/default/views/header.html.php
+++ b/themes/default/views/header.html.php
@@ -17,7 +17,7 @@
</span>
<? endif; ?>
<span id="gLoginForm" class="gDisplayNone" >
- <?= Login_Form::factory()->render() ?>
+ <?= Login_Form::factory() ?>
</span>
</div>
<ul id="gSiteMenu">