diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-11 15:31:59 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-11 20:34:27 +0200 |
commit | 7c55241a443bdbfaa46613ddd456edfeb9f5e1b3 (patch) | |
tree | 0088065500664c459d5ffd98c1f6636f592bd02b /help3xsl/help2.js | |
parent | 7c39ebe635e48c0362375c731724d6f8bd15971a (diff) |
Fix applicaiton color and h1 underline CSS
Change-Id: Ia8a18f4a8e1bd12c40a092528e68ec2f12846ac1
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/96162
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/help2.js')
-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; + } } } |