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:
friendica 2013-10-09 20:19:02 -07:00
parent 1fdc82e0a1
commit 87f1c6b8ec
4 changed files with 13 additions and 13 deletions

View File

@ -581,11 +581,11 @@ function updateConvItems(mode,data) {
function imgbright(node) { function imgbright(node) {
$(node).removeClass("drophide").addClass("drop"); // $(node).removeClass("drophide").addClass("drop");
} }
function imgdull(node) { function imgdull(node) {
$(node).removeClass("drop").addClass("drophide"); // $(node).removeClass("drop").addClass("drophide");
} }
function notify_popup_loader(notifyType) { function notify_popup_loader(notifyType) {

View File

@ -177,7 +177,7 @@ header #banner {
text-align: center; text-align: center;
font-size: 1.4em; font-size: 1.4em;
font-family: tahoma, "Lucida Sans", sans; font-family: tahoma, "Lucida Sans", sans;
color: #eec; color: #FFF;
font-weight: bold; font-weight: bold;
margin-top: 1px; margin-top: 1px;
} }
@ -186,7 +186,7 @@ header #banner a:active,
header #banner a:visited, header #banner a:visited,
header #banner a:link, header #banner a:link,
header #banner a:hover { header #banner a:hover {
color: #eec; color: #FFF;
text-decoration: none; text-decoration: none;
outline: none; outline: none;
vertical-align: bottom; vertical-align: bottom;

View File

@ -66,21 +66,21 @@ $('.sidebar-group-element').hover(
); );
$('.savedsearchdrop').hover( //$('.savedsearchdrop').hover(
function() { // function() {
$(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');}, // $(this).addClass('drop'); $(this).addClass('icon'); $(this).removeClass('iconspacer');},
function() { // function() {
$(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');} // $(this).removeClass('drop'); $(this).removeClass('icon'); $(this).addClass('iconspacer');}
); // );
$('.savedsearchterm').hover( $('.savedsearchterm').hover(
function() { function() {
id = $(this).attr('id'); 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() { function() {
id = $(this).attr('id'); id = $(this).attr('id');
$('#drop-' + id).removeClass('icon');$('#drop-' + id).removeClass('drophide'); $('#drop-' + id).addClass('iconspacer');} $('#dropicon-' + id).removeClass('searchdrop'); $('#dropicon-' + id).addClass('iconspacer');}
); );
}); });

View File

@ -5,7 +5,7 @@
<ul id="saved-search-ul"> <ul id="saved-search-ul">
{{foreach $saved as $search}} {{foreach $saved as $search}}
<li class="saved-search-li clear"> <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=&amp;remove=1&amp;search={{$search.encodedterm}}"></a> <a title="{{$search.delete}}" onclick="return confirmDelete();" id="drop-saved-search-term-{{$search.id}}" href="network/?f=&amp;remove=1&amp;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=&amp;search={{$search.encodedterm}}">{{$search.displayterm}}</a> <a id="saved-search-term-{{$search.id}}" class="savedsearchterm" href="network/?f=&amp;search={{$search.encodedterm}}">{{$search.displayterm}}</a>
</li> </li>
{{/foreach}} {{/foreach}}