changed ul to .panel for speed up css parsing

This commit is contained in:
coderaiser 2012-08-30 05:47:43 -04:00
parent 89629cc522
commit 719292b180
2 changed files with 6 additions and 2 deletions

View file

@ -34,7 +34,10 @@ a:focus { outline: thin dotted; }
/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }
ul{ margin: 1em 0; padding: 0 20px 0 20px; }
/* changed ul to panel, it using only in this case for now, and will css
* processing cost 33% with name of tag, so it should be match faster
*/
.panel{ margin: 1em 0; padding: 0 20px 0 20px; }
/*
* 1. Display hand cursor for clickable form elements

View file

@ -208,7 +208,8 @@ background:url(/img/panel_refresh.png) 0 -15px no-repeat;
width: 25%;
}
ul,li{
/* changin ul to panel for high speed parsing*/
.panel, li{
/* making cursor just arrow,
* not text editing cursor
*/