diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2022-01-13 16:25:47 +0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2022-01-13 16:12:10 +0100 |
commit | eb1bf86ac137d050daaaed114a70c29002acc4fe (patch) | |
tree | 2da2b8bf1825303a39ca6b84c06c9a7020cee79f /help3xsl | |
parent | 3c10ab097835514a63c4b0876b0ea5254bed1228 (diff) |
tdf#123318 Add navigation menu entry LibreOffice for Shared
Change-Id: Ibd46738e03721127e07ee1575e0a925fc36fbe9d
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128382
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/default.css | 6 | ||||
-rw-r--r-- | help3xsl/help2.js | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css index 66dd592716..ad65b34a57 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -630,6 +630,7 @@ li.disabled a { display: none; } +.libreoffice-icon, .calc-icon, .chart-icon, .writer-icon, @@ -643,6 +644,9 @@ li.disabled a { position: relative; margin-right: 5px; } +.libreoffice-icon { + background-image: url(media/navigation/libo-symbol-black.svg); +} .calc-icon { background-image: url(media/navigation/libo-calc.svg); } @@ -777,7 +781,7 @@ li.disabled a { flex-direction: column; overflow-y: auto; overflow-x: hidden; - max-width: 120px; + max-width: 160px; max-height: 480px; position: absolute; } diff --git a/help3xsl/help2.js b/help3xsl/help2.js index f40492afb1..3a45f7f601 100644 --- a/help3xsl/help2.js +++ b/help3xsl/help2.js @@ -187,6 +187,7 @@ function setupModules(lang) { var modulesNav = document.getElementById('modules-nav'); if (!modulesNav.classList.contains('loaded')) { var html = + '<a href="' + lang + '/text/shared/05/new_help.html?DbPAR=SHARED"><div class="libreoffice-icon"></div>LibreOffice</a>' + '<a href="' + lang + '/text/swriter/main0000.html?DbPAR=WRITER"><div class="writer-icon"></div>Writer</a>' + '<a href="' + lang + '/text/scalc/main0000.html?DbPAR=CALC"><div class="calc-icon"></div>Calc</a>' + '<a href="' + lang + '/text/simpress/main0000.html?DbPAR=IMPRESS"><div class="impress-icon"></div>Impress</a>' + |