Difference between revisions of "Template:Sidebar"

From Sinfronteras
Jump to: navigation, search
Line 568: Line 568:
 
             });
 
             });
 
             $(".resaltar").hover(function() {
 
             $(".resaltar").hover(function() {
                 $(this).parent().children(".mw-collapsible-toggle").css('color','red')
+
                 $(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 22:55, 18 March 2021