[oXygen-user] Working with Subject Scheme Maps as Nested Lists

Eliot Kimber ekimber at rsicms.com
Tue Jan 28 13:28:28 CST 2014


I'm experimenting with using subject scheme maps to capture outlines of
subjects as part of some training planning I'm doing.

To facilitate this I've whipped up a little CSS style sheet that renders
the subject definitions as a bulleted list items.

However, I don't get any collapse/expand handles in the edit view--I would
really like to be able to expand and collapse the list in the main editor
window (rather than using the outline view).

Is there a way to do this through the CSS?

Here is the CSS as I've got it so far:

/* CSS to show a subject scheme map as nested lists*/

subjectdef {
    list-style-type: disc;
    display: block;
}

subjectdef > topicmeta {
  display: list-item;
  margin-left: 12pt;
  margin-top: 12pt;
}

subjectdef > subjectdef > topicmeta {
  display: list-item;
  margin-left: 24pt;
}

subjectdef > subjectdef > subjectdef > topicmeta {
  display: list-item;
  margin-left: 36pt;
}

subjectdef > subjectdef > subjectdef > subjectdef > topicmeta {
  display: list-item;
  margin-left: 48pt;
}

subjectdef > subjectdef > subjectdef > subjectdef > subjectdef > topicmeta
{
  display: list-item;
  margin-left: 60pt;
}

shortdesc {
  display: block;
  margin-top: 1em;
  margin-left: 12pt;
}
/* End of CSS */


Thanks,

Eliot

—————
Eliot Kimber, Owner
Contrext, LLC
http://contrext.com <http://contrext.com/>




-- 
Eliot Kimber
Senior Solutions Architect
"Bringing Strategy, Content, and Technology Together"
Main: 512.554.9368
www.reallysi.com
www.rsuitecms.com




More information about the oXygen-user mailing list