Hello,
system.css hides all element in a collapsed field set by. All in the means all childs and childs of child ( whole tree )
html.js fieldset.collapsed * { display:none }
After that, a direct child of fieldset is which actually is the label which is clickable to uncollapse stuff, is hidden. But this should actually be shown in any case, collapsed or uncollapsed. So there are things like
html.js fieldset.collapsed legend { display:block }
html.js fieldset.collapsed legend a { display:block }
html.js fieldset.collapsed legend strong { display:block }
But if you have a plugin which changes the style of the label, the whole thing gets invisible. Properly, it would be correct to show the whole namespace from namespace, so
html.js fieldset.collapsed legend * { display:block }
Best regards
Eugen
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | collapsiblehiddenfix.patch | 437 bytes | eugenmayer |
| #3 | collapsiblehiddenfix.patch | 402 bytes | eugenmayer |
Comments
Comment #1
eugenmayer commentedTo maybe have an example. in my installation, the part looks like
<legen><a href="#"><b>Foobar</b></a></legend>Dont ask for the reasons, its some module changing that. I mean ist sensless or more wrong compared to the original one
<legen><a href="#"><strong>Foobar</strong></a></legend>But we could also think about
<legen><a href="#"><span class="bar">Foobar</span></a></legend>Or whatever. In every other case then the defaul, and span woudl be invisble due the 'html.js fieldset.collapsed * { display:none }' rule.
But using
html.js fieldset.collapsed legend * { display:block }would work in any case
Comment #2
eugenmayer commentedComment #3
eugenmayer commentedOld, but still there :)
Comment #5
eugenmayer commentedPatch was inversed and incomplete, sorry. reattached