diff options
Diffstat (limited to 'forum/skins/default/media/jquery-openid')
-rwxr-xr-x | forum/skins/default/media/jquery-openid/jquery.openid.js | 24 | ||||
-rwxr-xr-x | forum/skins/default/media/jquery-openid/openid.css | 14 |
2 files changed, 21 insertions, 17 deletions
diff --git a/forum/skins/default/media/jquery-openid/jquery.openid.js b/forum/skins/default/media/jquery-openid/jquery.openid.js index 8d1cd204..eae7b3ea 100755 --- a/forum/skins/default/media/jquery-openid/jquery.openid.js +++ b/forum/skins/default/media/jquery-openid/jquery.openid.js @@ -36,7 +36,7 @@ $.fn.openid = function() { }; var local = function() { var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); + $('#openid_form .providers td').removeClass('highlight'); $li.addClass('highlight'); $usrfs.hide(); $idfs.hide(); @@ -47,19 +47,19 @@ $.fn.openid = function() { var direct = function() { var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); + $('#openid_form .providers td').removeClass('highlight'); $li.addClass('highlight'); $usrfs.fadeOut('slow'); $localfs.fadeOut('slow'); $idfs.fadeOut('slow'); - $id.val($this.find("li.highlight span").text()); + $id.val($this.find("td.highlight span").text()); setTimeout(function(){$('#bsignin').click();},1000); return false; }; var openid = function() { var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); + $('#openid_form .providers td').removeClass('highlight'); $li.addClass('highlight'); $usrfs.hide(); $localfs.hide(); @@ -71,7 +71,7 @@ $.fn.openid = function() { var username = function() { var $li = $(this); - $('#openid_form .providers li').removeClass('highlight'); + $('#openid_form .providers td').removeClass('highlight'); $li.addClass('highlight'); $idfs.hide(); $localfs.hide(); @@ -84,10 +84,10 @@ $.fn.openid = function() { return false; }; - $this.find('li.local').click(local); - $this.find('li.direct').click(direct); - $this.find('li.openid').click(openid); - $this.find('li.username').click(username); + $this.find('td.local').click(local); + $this.find('td.direct').click(direct); + $this.find('td.openid').click(openid); + $this.find('td.username').click(username); $id.keypress(function(e) { if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13)) { return submitid(); @@ -98,12 +98,12 @@ $.fn.openid = function() { return submitusr(); } }); - $this.find('li span').hide(); - $this.find('li').css('line-height', 0).css('cursor', 'pointer'); + $this.find('td span').hide(); + $this.find('td').css('line-height', 0).css('cursor', 'pointer'); $usrfs.hide(); $idfs.hide(); $localfs.hide(); - $this.find('li:eq(0)').click(); + $this.find('td:eq(0)').click(); return this; }; diff --git a/forum/skins/default/media/jquery-openid/openid.css b/forum/skins/default/media/jquery-openid/openid.css index 1b7aaf82..307d5624 100755 --- a/forum/skins/default/media/jquery-openid/openid.css +++ b/forum/skins/default/media/jquery-openid/openid.css @@ -1,7 +1,7 @@ fieldset { border-style:none; } img {border-style:none;} -.logo_box {display:inline-block;float:left;width:90px;height:40px;background:white;border:1px solid #dddddd;} +.logo_box {width:90px;height:40px;background:white;border:1px solid #dddddd;} .openid_box img {margin-top:6px;} .aol_box img {margin-top:6px;} .yahoo_box img {margin-top:13px;} @@ -9,13 +9,11 @@ img {border-style:none;} .local_login_box img {margin-top:2px;margin-left:-3px;} form.openid ul{ margin:0;padding:0;text-align:center; list-style-type:none; display:block;} -form.openid ul li {float:left; padding:4px;display:inline-block;} -form.openid ul li div {display:inline-block;} +form.openid ul li {padding:4px;} form.openid ul li span {padding:0 1em 0 3px} form.openid ul li.first_tiny_li {clear:left;} form.openid fieldset {clear:both;padding:10px 0px 0px 0px;} form.openid div+fieldset {display:none} -form.openid label {display:block; font-weight:bold;} input[name=openid_username] {width:8em} input[name=openid_identifier] {width:18em} form.openid ul li.highlight { -moz-border-radius:4px; -webkit-border-radius:4px; background-color: #FD6} @@ -24,7 +22,6 @@ form.openid fieldset div { -webkit-border-radius:4px; background: #DCDCDC; padding:10px; - display:inline-block; float:left; } form.openid p {margin-bottom:4px;} @@ -67,9 +64,16 @@ form.openid ul.errorlist li { float: none; color:blue; } +ul.providers { + clear:left; + float:left; +} #openid_small_providers li { margin-top:4px; } #openid_small_providers li.facebook { margin-top:0px; } +ul.providers { + display: block; +} |