|
|
Re: Which CSS command to hide Compartments in Use Cases? [message #1706789 is a reply to message #1706785] |
Mon, 31 August 2015 07:39 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi,
It looks like a common mistake for anyone new to the CSS syntax. The following rules are *not* equivalent:
UseCase > Compartment [kind="points"]{visible:false;}
UseCase > Compartment[kind="points"]{visible:false;}
White spaces in CSS mean "descendant of..." (at any level). So if you want to select the "points" compartment, you need to use the second rule (Compartment[kind=points], without white spaces)
Quote:But it seems that the kind "points" is not recognized.
The issue is not the "kind" attribute; it is the DOM Element type that is not valid. The "points" compartment matches the "Label" rule (instead of "Compartment"). So there's indeed a bug here
As a workaround, you can use the following rule (that should still work after this bug is fixed):
UseCase > [kind=points] {
visible: false;
}
HTH,
Camille
Camille Letavernier
|
|
|
Powered by
FUDForum. Page generated in 0.05909 seconds