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:
friendica 2013-11-03 15:14:31 -08:00
parent 4d470f2d70
commit 72287b2478
2 changed files with 20 additions and 18 deletions

View File

@ -3448,4 +3448,8 @@ text-decoration: none;
#menulist {
list-style-type: none;
}
}
.savedsearchdrop {
opacity: 0;
}

View File

@ -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');
});
});