mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-25 22:06:15 +00:00
Remove the "arrow" from the XHTML TOC. I think I put it there near
the beginning, when the titles themselves were not being used as links. Now they are, so it is not needed.
This commit is contained in:
parent
9c8955ffd9
commit
d3feabfc86
@ -213,12 +213,6 @@ InsetLayout TOC
|
|||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
a.tocentry:visited { color: black; }
|
a.tocentry:visited { color: black; }
|
||||||
a.tocarrow {
|
|
||||||
font-weight: bold;
|
|
||||||
text-decoration: none;
|
|
||||||
color: #909090;
|
|
||||||
}
|
|
||||||
a.tocarrow:visited { color: #C0C0C0; }
|
|
||||||
EndHTMLStyle
|
EndHTMLStyle
|
||||||
End
|
End
|
||||||
|
|
||||||
|
@ -144,16 +144,7 @@ void InsetTOC::makeTOCEntry(XHTMLStream & xs,
|
|||||||
Font const dummy;
|
Font const dummy;
|
||||||
par.simpleLyXHTMLOnePar(buffer(), xs, ours, dummy);
|
par.simpleLyXHTMLOnePar(buffer(), xs, ours, dummy);
|
||||||
|
|
||||||
xs << html::EndTag("a") << " ";
|
xs << html::EndTag("a") << html::CR();
|
||||||
|
|
||||||
// Now a link to the paragraph
|
|
||||||
string const parattr = "href='#" + par.magicLabel() + "' class='tocarrow'";
|
|
||||||
xs << html::StartTag("a", parattr);
|
|
||||||
// FIXME XHTML
|
|
||||||
// There ought to be a simple way to customize this.
|
|
||||||
// Maybe if we had an InsetLayout for TOC...
|
|
||||||
xs << XHTMLStream::ESCAPE_NONE << ">";
|
|
||||||
xs << html::EndTag("a");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user