Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 14: | Line 14: | ||
margin-right: 12pt; | margin-right: 12pt; | ||
} | } | ||
− | .resaltar:hover {background: | + | .resaltar:hover {background: rgb(60, 60, 70)} |
.tocUl { | .tocUl { | ||
overflow-y: scroll !important; | overflow-y: scroll !important; | ||
Line 555: | Line 555: | ||
function resaltarSection() { | function resaltarSection() { | ||
− | $(".mw-collapsible-text").hover(function() { | + | // $(".mw-collapsible-text").hover(function() { |
− | + | // $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: grey !important'}) | |
− | + | // // $(".resaltar").first().css({'cssText':'background: red !important'}) | |
− | + | // }, function(){ | |
− | + | // $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: reset'}) | |
− | }); | + | // }); |
$(".mw-collapsible-toggle").hover(function() { | $(".mw-collapsible-toggle").hover(function() { | ||
− | $(this).parent().children(".resaltar").first().css({'cssText':'background: | + | $(this).parent().children(".resaltar").first().css({'cssText':'background: rgb(60, 60, 70) !important'}) |
// $(".resaltar").first().css({'cssText':'background: red !important'}) | // $(".resaltar").first().css({'cssText':'background: red !important'}) | ||
}, function(){ | }, function(){ |
Revision as of 21:05, 18 March 2021