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','font-weight':'bold'}) |
− | $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css({'cssText':'color: red !important'}) | + | $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css({'cssText':'color: red !important; font-weight:bold !important'}) |
// $(".resaltar").first().css({'cssText':'background: red !important'}) | // $(".resaltar").first().css({'cssText':'background: red !important'}) | ||
}, function(){ | }, function(){ | ||
− | $(this).parent().children(".mw-collapsible-toggle").css({'cssText':'color: reset'}) | + | $(this).parent().children(".mw-collapsible-toggle").css({'cssText':'color: reset; font-weight:reset'}) |
− | $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css({'cssText':'color: reset !important'}) | + | $(this).parent().children(".mw-collapsible-toggle").children(".mw-collapsible-text").css({'cssText':'color: reset !important; font-weight:bold !important'}) |
}); | }); | ||
} | } |
Revision as of 21:55, 18 March 2021