https://bugzilla.wikimedia.org/show_bug.cgi?id=24710

--- Comment #16 from Filip Maljkovic [Dungodung] <dungod...@gmail.com> 
2010-08-16 10:20:04 UTC ---
OK, I dug a bit deeper here and here are my findings.

The following code is in place now for any page (I changed the indentation for
obvious reasons):
<div id="p-variants" class="vectorMenu">
 <h5><span>Варијанте</span><a href="#"></a></h5>
 <div class="menu">
  <ul>
   <li id="ca-0"><a href="/sr-ec/<pagetitle>" >ћирилица</a></li>
   <li id="ca-1"><a href="/sr-el/<pagetitle>" >latinica</a></li>
  </ul>
 </div>
</div>

Instead, having something like this does the trick:
<div id="p-variants" class="vectorTabs">
 <h5>Варијанте</h5>
 <ul>
  <li id="ca-0"><a href="/sr-ec/<pagetitle>" ><span>ћирилица</span></a></li>
  <li id="ca-1"><a href="/sr-el/<pagetitle>" ><span>latinica</span></a></li>
 </ul>
</div>

So, basically, div with the p-variants ID should have the properties of
vectorTabs class (and everything that goes with it), not vectorMenu.

I don't think there's an easy and slick way of achieving that without changing
MediaWiki, or whatever generates this code. Since CSS doesn't have
non-inheritance, even if it's possible to do this in CSS, it would be long,
dirty and ugly.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to