Use the TOC:Listings layout to hold CSS information for it.

This commit is contained in:
Richard Heck 2013-03-27 18:22:20 -04:00
parent ad6250f1a6
commit d3f6e28e35
2 changed files with 8 additions and 1 deletions

View File

@ -195,6 +195,13 @@ InsetLayout TOC:Listings
LangPreamble
\renewcommand{\lstlistlistingname}{_(Listings[[List of Listings]])}
EndLangPreamble
HTMLStyle
div.lyxtoc-flat {
margin: 0em 0em 0em 1em;
font-size: large;
font-weight: normal;
}
EndHTMLStyle
End
InsetLayout Include:Listings

View File

@ -226,7 +226,7 @@ void InsetTOC::makeTOCNoDepth(XHTMLStream xs,
if (!it->isOutput())
continue;
xs << html::StartTag("div", "class='lyxtop-1'") << html::CR();
xs << html::StartTag("div", "class='lyxtoc-flat'") << html::CR();
Paragraph const & par = it->dit().innerParagraph();
makeTOCEntry(xs, par, op);