From dda245dbab60bddab4e7593cccbf59117d00a812 Mon Sep 17 00:00:00 2001 From: ahoogol Date: Mon, 28 Aug 2017 09:51:48 +0430 Subject: - Fixed: list item bullets overlap floating elements in html - Fixed: fragment lines overlap floating elements in html --- templates/html/doxygen.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index 3bb7316..4745ed1 100644 --- a/templates/html/doxygen.css +++ b/templates/html/doxygen.css @@ -163,10 +163,15 @@ dl.el { margin-left: -1cm; } -.fragment -{ - text-align: left; - direction:ltr; +ul { + overflow: hidden; /* Fixed: list item bullets overlap floating elements*/ +} + +.fragment { + text-align: left; + direction: ltr; + overflow-x: auto; /* Fixed: fragment lines overlap floating elements*/ + overflow-y: hidden; } pre.fragment { -- cgit v0.12 From 2ad516fef49f95b9edafe7ade6d1ed6d35cb75f7 Mon Sep 17 00:00:00 2001 From: ahoogol Date: Mon, 28 Aug 2017 10:25:23 +0430 Subject: - Fixed: text-align of rtl toc --- templates/html/doxygen.css | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index 4745ed1..d3cff21 100644 --- a/templates/html/doxygen.css +++ b/templates/html/doxygen.css @@ -1354,8 +1354,9 @@ div.toc { width: 200px; } -.PageDocRTL-title .toc { +.PageDocRTL-title div.toc { float: left !important; + text-align: right; } div.toc li { @@ -1366,6 +1367,12 @@ div.toc li { padding-top: 2px; } +.PageDocRTL-title div.toc li { + background-position-x: right !important; + padding-left: 0 !important; + padding-right: 10px; +} + div.toc h3 { font: bold 12px/1.2 Arial,FreeSans,sans-serif; color: ##60; @@ -1395,6 +1402,26 @@ div.toc li.level4 { margin-left: 45px; } +.PageDocRTL-title div.toc li.level1 { + margin-left: 0 !important; + margin-right: 0; +} + +.PageDocRTL-title div.toc li.level2 { + margin-left: 0 !important; + margin-right: 15px; +} + +.PageDocRTL-title div.toc li.level3 { + margin-left: 0 !important; + margin-right: 30px; +} + +.PageDocRTL-title div.toc li.level4 { + margin-left: 0 !important; + margin-right: 45px; +} + .inherit_header { font-weight: bold; color: gray; -- cgit v0.12 From 1245145d6710abbb58057dc555fccac08ac8a3fa Mon Sep 17 00:00:00 2001 From: ahoogol Date: Sat, 2 Sep 2017 12:09:52 +0430 Subject: -Fixed: last line underline overlap border in html fragment --- templates/html/doxygen.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index d3cff21..1425dc1 100644 --- a/templates/html/doxygen.css +++ b/templates/html/doxygen.css @@ -164,13 +164,13 @@ dl.el { } ul { - overflow: hidden; /* Fixed: list item bullets overlap floating elements*/ + overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ } .fragment { text-align: left; direction: ltr; - overflow-x: auto; /* Fixed: fragment lines overlap floating elements*/ + overflow-x: auto; /*Fixed: fragment lines overlap floating elements*/ overflow-y: hidden; } @@ -188,8 +188,8 @@ pre.fragment { } div.fragment { - padding: 0px; - margin: 4px 8px 4px 2px; + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; background-color: ##FC; border: 1px solid ##CC; } -- cgit v0.12 From 08be7a8ef12518736b2530504a28904eec3e47ab Mon Sep 17 00:00:00 2001 From: ahoogol Date: Sat, 2 Sep 2017 12:48:35 +0430 Subject: + Added: support RTL for DocXRefItem in html - Removed: support RTL form Return section in html, for consistency with parameter sections --- src/htmldocvisitor.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/htmldocvisitor.cpp b/src/htmldocvisitor.cpp index 7404a4d..8b6d26c 100644 --- a/src/htmldocvisitor.cpp +++ b/src/htmldocvisitor.cpp @@ -1144,8 +1144,10 @@ void HtmlDocVisitor::visitPre(DocSimpleSect *s) { if (m_hide) return; forceEndParagraph(s); - m_t << "typeString()) - << ">
"; + if (s->type() != DocSimpleSect::Return) + m_t << "typeString()) << ">
"; + else + m_t << "
typeString() << "\">
"; switch(s->type()) { case DocSimpleSect::See: @@ -1831,7 +1833,8 @@ void HtmlDocVisitor::visitPre(DocXRefItem *x) bool anonymousEnum = x->file()=="@"; if (!anonymousEnum) { - m_t << "
key() << "\">
key()) + << ">
relPath() << x->file() << Doxygen::htmlFileExtension << "#" << x->anchor() << "\">"; } -- cgit v0.12