fix the saved search term delete icons in redbasic so they are hidden by default. This is a bit harder using font-based icons than it was with images that could easily be hidden. We'll do it with opacity instead of visibility or display css settings.
This commit is contained in:
		| @@ -3449,3 +3449,7 @@ text-decoration: none; | ||||
| #menulist { | ||||
| 	list-style-type: none; | ||||
| } | ||||
|  | ||||
| .savedsearchdrop { | ||||
| 	opacity: 0; | ||||
| } | ||||
|   | ||||
| @@ -66,24 +66,22 @@ $('.sidebar-group-element').hover( | ||||
| 	); | ||||
|  | ||||
|  | ||||
| //$('.saved-search-li a').hover( | ||||
| //	function() { | ||||
| //		id = $(this).attr('id'); | ||||
| //		$('#dropicon-' + id).css('visibility','visible');}, | ||||
| //	function() { | ||||
| //		id = $(this).attr('id'); | ||||
| //		$('#dropicon-' + id).css('visibility','hidden');} | ||||
| //	); | ||||
| $('.savedsearchdrop').hover( | ||||
| 	function() { | ||||
| 		$(this).css('opacity','1.0');}, | ||||
| 	function() { | ||||
| 		$(this).css('opacity','0');} | ||||
| 	); | ||||
|  | ||||
| //$('.savedsearchterm').hover( | ||||
| //	function() { | ||||
| //		id = $(this).attr('id'); | ||||
| //		$('#dropicon-' + id).css('visibility','visible');}, | ||||
| // | ||||
| //	function() { | ||||
| //		id = $(this).attr('id'); | ||||
| //		$('#dropicon-' + id).css('visibility','hidden'); | ||||
| //	}); | ||||
| $('.savedsearchterm').hover( | ||||
| 	function() { | ||||
| 		id = $(this).attr('id'); | ||||
| 		$('#dropicon-' + id).css('opacity','1.0');}, | ||||
|  | ||||
| 	function() { | ||||
| 		id = $(this).attr('id'); | ||||
| 		$('#dropicon-' + id).css('opacity','0'); | ||||
| 	}); | ||||
|  | ||||
| }); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user