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:
parent
4d470f2d70
commit
72287b2478
@ -3448,4 +3448,8 @@ 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