diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-01-06 11:47:52 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-06 11:47:52 (GMT) |
commit | 60f0b620a6e6079c5942fb649a17b89553b6f28b (patch) | |
tree | ad643111ec2a41adff569393cc843ed462ebe059 /templates | |
parent | 34d5d0da43f116cd09f1f6b2fab001e5c39549c3 (diff) | |
parent | 08be7a8ef12518736b2530504a28904eec3e47ab (diff) | |
download | Doxygen-60f0b620a6e6079c5942fb649a17b89553b6f28b.zip Doxygen-60f0b620a6e6079c5942fb649a17b89553b6f28b.tar.gz Doxygen-60f0b620a6e6079c5942fb649a17b89553b6f28b.tar.bz2 |
Merge pull request #636 from ahoogol/master
-Fixed: some of remained work to support RTL in HTML output
Diffstat (limited to 'templates')
-rw-r--r-- | templates/html/doxygen.css | 46 |
1 files changed, 39 insertions, 7 deletions
diff --git a/templates/html/doxygen.css b/templates/html/doxygen.css index 3bb7316..1425dc1 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 { @@ -183,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; } @@ -1349,8 +1354,9 @@ div.toc { width: 200px; } -.PageDocRTL-title .toc { +.PageDocRTL-title div.toc { float: left !important; + text-align: right; } div.toc li { @@ -1361,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; @@ -1390,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; |