more icon conversions - savedsearch listings need more work. The drop icon should be hidden unless the entry is being hovered.
This commit is contained in:
parent
1fdc82e0a1
commit
87f1c6b8ec
@ -581,11 +581,11 @@ function updateConvItems(mode,data) {
|
||||
|
||||
|
||||
function imgbright(node) {
|
||||
$(node).removeClass("drophide").addClass("drop");
|
||||
// $(node).removeClass("drophide").addClass("drop");
|
||||
}
|
||||
|
||||
function imgdull(node) {
|
||||
$(node).removeClass("drop").addClass("drophide");
|
||||
// $(node).removeClass("drop").addClass("drophide");
|
||||
}
|
||||
|
||||
function notify_popup_loader(notifyType) {
|
||||
|
@ -177,7 +177,7 @@ header #banner {
|
||||
text-align: center;
|
||||
font-size: 1.4em;
|
||||
font-family: tahoma, "Lucida Sans", sans;
|
||||
color: #eec;
|
||||
color: #FFF;
|
||||
font-weight: bold;
|
||||
margin-top: 1px;
|
||||
}
|
||||
@ -186,7 +186,7 @@ header #banner a:active,
|
||||
header #banner a:visited,
|
||||
header #banner a:link,
|
||||
header #banner a:hover {
|
||||
color: #eec;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
vertical-align: bottom;
|
||||
|
@ -66,21 +66,21 @@ $('.sidebar-group-element').hover(
|
||||
);
|
||||
|
||||
|
||||
$('.savedsearchdrop').hover(
|
||||
function() {
|
||||
$(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
function() {
|
||||
$(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
);
|
||||
//$('.savedsearchdrop').hover(
|
||||
// function() {
|
||||
// $(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
|
||||
// function() {
|
||||
// $(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
|
||||
// );
|
||||
|
||||
$('.savedsearchterm').hover(
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).addClass('icon'); $('#drop-' + id).addClass('drophide'); $('#drop-' + id).removeClass('iconspacer');},
|
||||
$('#dropicon-' + id).addClass('searchdrop'); $('#dropicon-' + id).removeClass('iconspacer');},
|
||||
|
||||
function() {
|
||||
id = $(this).attr('id');
|
||||
$('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');}
|
||||
$('#dropicon-' + id).removeClass('searchdrop'); $('#dropicon-' + id).addClass('iconspacer');}
|
||||
);
|
||||
|
||||
});
|
||||
|
@ -5,7 +5,7 @@
|
||||
<ul id="saved-search-ul">
|
||||
{{foreach $saved as $search}}
|
||||
<li class="saved-search-li clear">
|
||||
<a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" class="iconspacer savedsearchdrop " href="network/?f=&remove=1&search={{$search.encodedterm}}"></a>
|
||||
<a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="network/?f=&remove=1&search={{$search.encodedterm}}"><i id="dropicon-saved-search-term-{{$search.id}}" class="icon-remove drop-icons iconspacer savedsearchdrop"></i></a>
|
||||
<a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&search={{$search.encodedterm}}">{{$search.displayterm}}</a>
|
||||
</li>
|
||||
{{/foreach}}
|
||||
|
Reference in New Issue
Block a user