Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
(29 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#tag:html| | {{#tag:html| | ||
+ | <script> | ||
+ | /* Some important variables */ | ||
+ | show_oculto = true | ||
+ | </script> | ||
<style> | <style> | ||
/* MediaWiki page configurations */ | /* MediaWiki page configurations */ | ||
Line 473: | Line 477: | ||
if ( document.getElementById('pt-userpage') != null ) { | if ( document.getElementById('pt-userpage') != null ) { | ||
if ( document.getElementById('pt-userpage').getElementsByTagName('a')[0].innerText == "Adelo Vieira" ){ | if ( document.getElementById('pt-userpage').getElementsByTagName('a')[0].innerText == "Adelo Vieira" ){ | ||
− | $('.oculto').css('display','block') | + | if (show_oculto == true) { |
+ | $('.oculto').css('display','block') | ||
+ | } | ||
$('.link-hidden').css('pointer-events','auto') | $('.link-hidden').css('pointer-events','auto') | ||
$('#p-logo a').attr('href','/view/Mis_páginas'); | $('#p-logo a').attr('href','/view/Mis_páginas'); | ||
Line 481: | Line 487: | ||
} | } | ||
}else{ | }else{ | ||
+ | $("#menuToggle #button-others").css('pointer-events','none') | ||
// $('body').css('background','blue'); | // $('body').css('background','blue'); | ||
// $('#hideThis').show(); | // $('#hideThis').show(); | ||
Line 799: | Line 806: | ||
#Desktop-inter2 .antes-collapsible { | #Desktop-inter2 .antes-collapsible { | ||
margin-bottom: 30px !important; | margin-bottom: 30px !important; | ||
+ | } | ||
+ | #Desktop-inter2 .espacio { | ||
+ | margin-left: -20px !important; | ||
} | } | ||
</style> | </style> |
Latest revision as of 16:58, 26 June 2022