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 | |
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>
-rw-r--r-- | Package_html_media.mk | 1 | ||||
-rw-r--r-- | help3xsl/default.css | 6 | ||||
-rw-r--r-- | help3xsl/help2.js | 1 | ||||
-rw-r--r-- | source/media/navigation/libo-symbol-black.svg | 1 |
4 files changed, 8 insertions, 1 deletions
diff --git a/Package_html_media.mk b/Package_html_media.mk index 66cd339f1a..784486c3f8 100644 --- a/Package_html_media.mk +++ b/Package_html_media.mk @@ -378,6 +378,7 @@ $(eval $(call gb_Package_add_files_with_dir,helpcontent2_html_media,$(LIBO_SHARE navigation/libo-draw.svg \ navigation/libo-impress.svg \ navigation/libo-math.svg \ + navigation/libo-symbol-black.svg \ navigation/libo-symbol-white.svg \ navigation/libo-writer.svg \ screenshots/modules/scalc/ui/deletecells/DeleteCellsDialog.png \ 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>' + diff --git a/source/media/navigation/libo-symbol-black.svg b/source/media/navigation/libo-symbol-black.svg new file mode 100644 index 0000000000..b4756d5fef --- /dev/null +++ b/source/media/navigation/libo-symbol-black.svg @@ -0,0 +1 @@ +<svg height="26" width="21.5" xmlns="http://www.w3.org/2000/svg"><g fill-rule="evenodd" transform="matrix(.31255684 0 0 .31250224 -233.40716 -366.24428)"><path d="m796.28645 1171.974c-.80495-.02-1.59796.4831-1.91259 1.2141-.31466.7309-.131 1.6434.44298 2.2004l17.27601 17.3306c.55718.5581 1.4644.7432 2.20023.4487.73584-.2944 1.256-1.0507 1.2615-1.8338v-17.3628c.002-1.0462-.96414-1.999-2.02478-1.9972z"/><path d="m748.78346 1171.9733c-1.06249.015-2.01821.9868-2.01636 2.0494v79.1007c-.002 1.0625.9539 2.0338 2.01636 2.0493h64.72168c1.07351 0 2.05112-.9758 2.04941-2.0493v-50.9378c.003-.5376-.21596-1.0732-.59499-1.4544l-27.99758-28.1298c-.37577-.3909-.9122-.6226-1.45442-.6281z" fill="none"/><path d="m748.78346 1171.9733a2.0460372 2.0460372 0 0 0 -2.01636 2.0494v79.1007a2.0460372 2.0460372 0 0 0 2.01636 2.0493h64.72168a2.0460372 2.0460372 0 0 0 2.04941-2.0493v-50.9378a2.0460372 2.0460372 0 0 0 -.59499-1.4544l-27.99758-28.1298a2.0460372 2.0460372 0 0 0 -1.45442-.6281zm2.04941 4.0988h33.81526l26.8076 26.94v48.0618h-60.62286z"/></g><path d="m1.2707892 1.2808857v23.4382303h18.9480898v-15.01942l-8.378899-8.4188103z" fill="#fff"/></svg>
\ No newline at end of file |