diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-11 15:31:59 -0300 |
---|---|---|
committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | 2020-06-14 11:48:50 +0200 |
commit | dd0e652538a4bf17352c5aa47ac7ef14f222fd2e (patch) | |
tree | cb43ca8568b9dfe8c2de694a6b2b583963636bf6 | |
parent | 6f9cff9a59d66c813d3947cdca65ff32c2d42821 (diff) |
Fix application color and h1 underline CSS
Change-Id: Ia8a18f4a8e1bd12c40a092528e68ec2f12846ac1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96174
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r-- | help3xsl/help2.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/help3xsl/help2.js b/help3xsl/help2.js index 382627d83d..95635c8465 100644 --- a/help3xsl/help2.js +++ b/help3xsl/help2.js @@ -73,8 +73,8 @@ function moduleColor (module) { case "WRITER" : {color="#0369A3"; break;} case "CALC" : {color="#43C330"; break;} case "CHART" : {color="darkcyan"; break;} - case "DRAW" : {color="#A33E03"; break;} - case "IMPRESS": {color="#C99C00"; break;} + case "IMPRESS": {color="#A33E03"; break;} + case "DRAW" : {color="#C99C00"; break;} case "BASE" : {color="#8E03A3"; break;} case "BASIC" : {color="black"; break;} case "MATH" : {color="darkslategray"; break;} @@ -88,7 +88,10 @@ function moduleColor (module) { for(i = 0; i < cols.length; i++) {cols[i].style.backgroundColor = color;}; for (j of [1,2,3,4,5,6]) { var hh = document.getElementsByTagName("H" + j); - for(i = 0; i < hh.length; i++) {hh[i].style.color = color;} + for(i = 0; i < hh.length; i++) { + hh[i].style.color = color; + hh[i].style.borderBottomColor = color; + } } } |