Difference between revisions of "Template:Sidebar"

From Sinfronteras
Jump to: navigation, search
Line 14: Line 14:
 
             margin-right: 12pt;
 
             margin-right: 12pt;
 
         }
 
         }
         .resaltar:hover {background: orange}
+
         .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'})
+
            //    $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: grey !important'})
                // $(".resaltar").first().css({'cssText':'background: red !important'})
+
            //    // $(".resaltar").first().css({'cssText':'background: red !important'})
                }, function(){
+
            //    }, function(){
                $(this).parent().parent().children(".resaltar").first().css({'cssText':'background: reset'})
+
            //    $(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: grey !important'})
+
                 $(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 22:05, 18 March 2021