Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 568: | Line 568: | ||
}); | }); | ||
$(".resaltar").hover(function() { | $(".resaltar").hover(function() { | ||
− | $(this).parent().children(".mw-collapsible-toggle").css('color',' | + | $(this).parent().children(".mw-collapsible-toggle").css('color','red') |
$(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css('color', 'red') | $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css('color', 'red') | ||
// $(".resaltar").first().css({'cssText':'background: red !important'}) | // $(".resaltar").first().css({'cssText':'background: red !important'}) | ||
}, function(){ | }, function(){ | ||
− | $(this).parent().children(".mw-collapsible-toggle").css(' | + | $(this).parent().children(".mw-collapsible-toggle").css({'cssText':'color: reset'}) |
$(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css('color', 'reset') | $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css('color', 'reset') | ||
}); | }); |
Revision as of 21:40, 18 March 2021