Fixed theme CSS inconsistency; fixed form inconsistency.

Fixed: Login and registration form fields reacted differently to :focus in WebKit and Firefox.
Fixed: Login field cleared error class onBlur while registration fields did not.
Esse commit está contido em:
Joshua Gross
2010-02-12 15:25:38 -06:00
commit acbfda4051
4 arquivos alterados com 30 adições e 15 exclusões
+1 -1
Ver Arquivo
@@ -78,4 +78,4 @@ if(substr($action, 0, 1) != '_' && method_exists($im, $action))
else
print json_encode(array('e'=>'no method'));
/* End of index.php */
/* End of ajaxim.php */
+1 -1
Ver Arquivo
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
+10 -2
Ver Arquivo
@@ -1,18 +1,24 @@
// Automatically load dependencies, in order, if they aren't already loaded.
// Each array is: [filename, deptest] where deptest is the function to
// test for the dependency.
var AjaxIM, AjaxIMLoadedFunction;
(function() {
AjaxIM = {};
AjaxIM.loaded = function(f) {
AjaxIMLoadedFunction = f;
};
var tagsrc =
(thistag = document.getElementsByTagName('script'))[thistag.length-1].src;
var jsfolder = tagsrc.replace(/im.load.js([?].+)?/, '');
var imfolder = jsfolder.replace(/js\/$/, '');
var dependencies = [
['jquery-1.3.2.js', function() { return (typeof window['jQuery'] != 'undefined'); }],
['jquery.jsonp-1.1.0.js', function() { return (typeof jQuery['jsonp'] != 'undefined'); }],
['jquery.jstore-all-min.js', function() { return (typeof jQuery['jstore'] != 'undefined'); }],
['jquery.md5.js', function() { return (typeof jQuery['md5'] != 'undefined'); }],
['im.js', function() { return (typeof window['AjaxIM'] != 'undefined'); }]
['im.js', function() { return (typeof window['AjaxIM'] != 'object'); }]
];
var head = document.getElementsByTagName('head')[0];
@@ -65,5 +71,7 @@
});
AjaxIM.client.login();
}
AjaxIM.loaded();
};
})();
+18 -11
Ver Arquivo
@@ -457,7 +457,7 @@ div#imjs-lr form {
background: #F0EFED url(images/w.png) repeat-x;
border: 1px solid #cfceca;
max-width: 220px;
padding: 5px 5px 10px 10px;
padding: 5px 5px 10px 8px;
overflow: auto;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
@@ -472,13 +472,12 @@ div#imjs-lr form {
border: 0;
padding: 0;
margin: 0;
overflow: auto;
}
div#imjs-lr form h2 {
font: 700 20px/24px Helvetica Neue, Helvetica, Arial, Calibri, Tahoma, Verdana, sans-serif;
margin: 0;
padding: 7px 0 0;
padding: 7px 0 0 2px;
color: #555;
text-shadow: 0 1px 0px #fff;
}
@@ -498,6 +497,12 @@ div#imjs-lr form {
border: 2px solid #ff1111;
}
div#imjs-lr form button {
float: right;
background: #f4f3f1;
outline: 0;
}
div#imjs-lr form input, div#imjs-lr form button {
border: 1px solid #ddd;
color: #000;
@@ -505,17 +510,19 @@ div#imjs-lr form {
font: 16px/20px Helvetica Neue, Helvetica, Arial, Calibri, Tahoma, Verdana, sans-serif;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
margin: 0;
}
div#imjs-lr form input:focus, div#imjs-lr form button:focus {
margin: -1px;
border: 2px solid #999;
div#imjs-lr form p {
padding-left: 2px;
overflow: visible;
}
div#imjs-lr form input:focus, div#imjs-lr form button:focus {
position: relative;
border: 2px solid #999;
margin: -1px;
}
div#imjs-lr form button {
float: right;
background: #f4f3f1;
}
p.imjs-submit {
width: 207px;