improve selector layout

master
Joey Hess 2010-05-08 00:40:36 -04:00
parent f05043ed80
commit ac8a91fe06
2 changed files with 11 additions and 11 deletions

View File

@ -441,7 +441,7 @@ li.L8 { list-style: upper-alpha; }
float: left;
}
.openid_large_btn {
padding: 1em 1em;
padding: 1em 1.5em;
border: 1px solid #DDD;
margin: 3px;
float: left;

View File

@ -97,16 +97,6 @@ var openid = {
openid_btns.append(this.getBoxHTML(providers_large[id], 'large'));
}
if (localloginurl != "") {
openid_btns.append(
'<a href="' + localloginurl + '"' +
' style="background: #FFF" ' +
'class="openid_large_btn">' +
'<img alt="" width="16" height="16" src="favicon.ico" />' +
' Local Account' +
'</a>'
);
}
if (providers_small) {
openid_btns.append('<br/>');
@ -115,6 +105,16 @@ var openid = {
openid_btns.append(this.getBoxHTML(providers_small[id], 'small'));
}
}
if (localloginurl != "") {
openid_btns.append(
'<a href="' + localloginurl + '"' +
' style="background: #FFF" ' +
'class="openid_small_btn">' +
'<img alt="" width="16" height="16" src="favicon.ico" />' +
' Local Account' +
'</a>'
);
}
$('#openid_form').submit(this.submit);