changeset 1691:0b8cf2e82bd4 beta

removed lame js hover to css hover !
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 16 Nov 2011 23:50:36 +0200
parents 6944b1249f28
children b76bb93db070
files rhodecode/public/css/diff.css rhodecode/templates/changeset/changeset.html
diffstat 2 files changed, 9 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/public/css/diff.css	Wed Nov 16 21:31:14 2011 +0200
+++ b/rhodecode/public/css/diff.css	Wed Nov 16 23:50:36 2011 +0200
@@ -135,12 +135,11 @@
 	padding:0;
 	margin:0;
 }
-
-.line.highlight{
-	background-color:#FFFFCC;
-	cursor: pointer;
-	background-image:url("../images/icons/comment_add.png");
-	background-repeat:no-repeat;
-	background-position: right;
-	background-position: 100% 50%;
-}
+.line:hover{
+    background-color:#FFFFCC !important;
+    cursor: pointer !important;
+    background-image:url("../images/icons/comment_add.png") !important;
+    background-repeat:no-repeat !important;
+    background-position: right !important;
+    background-position: 100% 50% !important;
+}
\ No newline at end of file
--- a/rhodecode/templates/changeset/changeset.html	Wed Nov 16 21:31:14 2011 +0200
+++ b/rhodecode/templates/changeset/changeset.html	Wed Nov 16 23:50:36 2011 +0200
@@ -218,16 +218,7 @@
     		  }
     	  })
     	  
-    	  YUE.on(YUQ('.line'),'mouseenter',function(e){
-    		  var tr = e.currentTarget;
-              if(YUD.hasClass(tr,'form-open') || YUD.hasClass(tr,'context')){
-                  return
-              }    		  
-    		  YUD.addClass(tr,'highlight');
-    	  });
-          YUE.on(YUQ('.line'),'mouseleave',function(e){
-              YUD.removeClass(e.currentTarget,'highlight');
-          });
+
           
           YUE.on(YUQ('.line'),'click',function(e){
         	  var tr = e.currentTarget;