From 719292b1805540ec47188c9527606965afc9138a Mon Sep 17 00:00:00 2001 From: coderaiser Date: Thu, 30 Aug 2012 05:47:43 -0400 Subject: [PATCH] changed ul to .panel for speed up css parsing --- css/reset.css | 5 ++++- css/style.css | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/css/reset.css b/css/reset.css index 461478f8..ec9c9b7b 100644 --- a/css/reset.css +++ b/css/reset.css @@ -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 diff --git a/css/style.css b/css/style.css index 8fbc4b35..fd8d50b6 100644 --- a/css/style.css +++ b/css/style.css @@ -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 */