Template:Help intro sidetab: Difference between revisions

Content deleted Content added
Steven (WMF) (talk | contribs)
you should never use background shading for an active tab, if the user cannot click the active tab area to select. The correct way to do this is have the active color occur on hover as well, and let the user click the entire tab.
No edit summary
Line 1:
<div class="help-intro-sidetab {{#if:{{{active|}}}|help-intro-sidetab-active}}" style="min-height: 5em; height: auto !important; height: 5em; {{#if:{{{active|}}}|background: #e0e1e2; border-left: 1em solid #3366bb; padding: 0.6em 1em 0.6em 1em;|padding: 0.6em 1em 0.6em 2em;}}">
[[{{{target|Help:Contents}}}|<span class="help-intro-sidetab-title" style="font-size: 1.5em; font-weight: bold;">{{{title|Title goes here}}}</span>]]<br />
<span class="help-intro-sidetab-subtitle">{{{subtitle|Subtitle goes here}}}</span>