summaryrefslogtreecommitdiff
path: root/help3xsl/default.css
AgeCommit message (Collapse)Author
2024-02-10[cp] Hide 'Please support us!' buttonAndras Timar
Change-Id: I003b30b6b47e1323f4ef2a504ed72585561a386f
2024-02-10[cp] Exchange the logo.Jan Holesovsky
Change-Id: I138d97fd40764ff455354f4ad53f9a7fb72faba8 Reviewed-on: https://gerrit.libreoffice.org/58797 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2024-01-05tdf#158961 Remove a z-index: 100 rule to keep Safari happyIlmari Lauhakangas
Modules navigation was not showing up in Safari because it had too few elements to overflow. For some reason the z-index: 100 rule for the containing div triggered this buggy behaviour. Change-Id: I50776401b567d125d086e826ec7a23694bdf6774 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161651 Tested-by: Jenkins Reviewed-by: Juan José González <juanjosegzl@libreoffice.org> Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> (cherry picked from commit 7f6876711ed991c8cf83edcc47980639b58c2c7a) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161647
2023-12-17Make Help navigation layout less busyIlmari Lauhakangas
Bookmarks don't have to be visible all the time, so make them a dropdown and move the search box to header. Move Xapian search to the top of the content area. Make Contents tree appear on the left side in 960px and wider screens. Simplify/clean up some CSS and JS, for example for module colours. Change-Id: Ic50a834b758d50098868866e4b8d3e8085755423 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160870 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> (cherry picked from commit 25f39b53fb292ec90368f2afd3678884a1a8bb27) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160860
2023-12-01CSS: "literal" must wrap normally.Olivier Hallot
Change-Id: Ib0ee56bd4a93d14467bec0ae607477dbbd86cbd8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/160226 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-10-25Improve accessibility of dropdown menusIlmari Lauhakangas
Now the opened menus can be closed with Esc key, so we conform to the dismissible success criterion in WCAG 2.1: https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus.html To simplify things, now the navigation lists are populated upon page load in all cases. Change-Id: I0a7daaea122d3e03de36c322ccb012c546b271e0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/158429 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-08-31Prevent literal words to wrap in lines.Olivier Hallot
Applies mostly on table columns Change-Id: Ie18b84d9a052f4b189f06c43132457a3a925dcaa Reviewed-on: https://gerrit.libreoffice.org/c/help/+/156354 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2023-01-30tdf#142380 Use CSS variable for background colorAdolfo Jayme Barrientos
Change-Id: Ia70389ced5e8b698c034f9eec8cb4f030d27dd81
2022-12-13tdf#152491 Update CSS coloring to match new iconsAdolfo Jayme Barrientos
https://wiki.documentfoundation.org/Design/Branding#LibreOffice_application_colors Change-Id: I914ddfd14f0ca351f4eed5eb14ed8ea6ed904422
2022-06-20Remove unreadable, obsolete fontsAdolfo Jayme Barrientos
Change-Id: Ic1a9839b1819c6b455ded63e120b32c5995e58c8 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136153 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2022-06-20tdf#142380 tdf#142531 Update font stack, w/o “system-ui”Adolfo Jayme Barrientos
Change-Id: I1e6f27883b707147fdd07cdca2ca56e99a9fdc95 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/136152 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Jenkins
2022-05-15Add SQL code colorization to Help pagesOlivier Hallot
Change-Id: I2c74e63c67a323a6e6b726da352dd23e1a88d886 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134329 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-05-13Fix YouTube display for Help online/offlineOlivier Hallot
+ Enhance button CSS display + Refactor XSLT + Refactor XHP Change-Id: I58e46c31a97ad49eb25a4489994aae5dac62dbc3 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/134207 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-19tdf#148621 Make ScriptForge service tables mobile-friendlyIlmari Lauhakangas
- Introduce <tablehead> element - While considering text-align, I noticed we do not take RTL languages into account. A CSS rule 'html[dir=ltr] th' was added, which does nothing at the moment. We should look into directionality. Change-Id: Ib59aa0c508529c0beaa35542d96bd5cc1aa4db29 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133114 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-04-17tdf#148621 Improve Basic Help layoutIlmari Lauhakangas
- Get rid of tables - Add normalize-whitespace Prism plugin to get rid of useless indents - Fix code blocks poking through sticky header - Add some word wrapping CSS to fix mobile-unfriendliness Change-Id: I73fd1e0678624b0d4bd5561f50e80990db5567be Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133096 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-27Remove max-width from menusIlmari Lauhakangas
Change-Id: I7d59fb7161af41449cd0a1508f38143c241d50d0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/129061 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-25tdf#123318 tdf#129697 Don't hardcode product name in CSS and JSIlmari Lauhakangas
Change-Id: I0ef315146fed188eb1cf33c416ff5f3e9899bbae Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128524 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-17tdf#129697 Use LIBREOFFICE instead of GLOBAL as index headingIlmari Lauhakangas
Change-Id: I8c00eb4ed888eb8b2e898144141ef1c5a659bb49 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128503 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-01-13tdf#123318 Add navigation menu entry LibreOffice for SharedIlmari Lauhakangas
Change-Id: Ibd46738e03721127e07ee1575e0a925fc36fbe9d Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128382 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2022-01-05Improve paragraph spacing in textOlivier Hallot
Add more space below paragraphs. Change-Id: Ie282883229bcc1471aed6c35ef57d1ec909996b5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128013 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-01-05Remove unused css ruleOlivier Hallot
Change-Id: Id49a843abd96ba1719c706b36d20d27766698898 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128018 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2022-01-05tdf#142380 (part) Use variables in cssOlivier Hallot
Change-Id: I14f9e8af88cb7eb1fbf8f6647d2ad891018edbff Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128014 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2021-05-31tdf#142531: fix help css for Simplified Chinese display on LinuxKevin Suo
The font "system-ui" may cause trouble in some system, although it may look good in several systems. See e.g. https://infinnie.github.io/blog/2017/systemui.html. This change removes the "system-ui" font from the list, still put "Segoe UI" before any others, but moves "sans-serif" forward so that it falls back to the UI font in most linux distros. Tested on Win10 and this does not impact the display for English or Chinese, but really improves a lot on Linux (Fedora 32 for me). Change-Id: I1cba731cb846d1dc8c708b12510167c48de539e5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116487 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-05-31tdf#142417: Improve convertfilters.py and add API Names columnKevin Suo
This commit involves two parts: 1. Improved the convertfilters.py helper script to make sure the generated convertfilters.xhp file is complete, accurate and containing no duplicated entries, and also add codes to also generate API Names column, as discussed in tdf#142417. Importantly, the code is modified to generate fixed IDs, rather than the previously random IDs or sequential IDs which may make the PO translation strings to show fuzzy when the file is re-generated. 2. This helper script is run and the convertfilters.xhp is updated. 3. The default css is modified to better display the page. There is no need to set overflow=auto for the DisplayArea, otherwise the scrollbar goes to the bottom of that area which is not visible. Also added a css class to display smaller fonts for the table. Change-Id: I8a5c73c9d6a0c0b44fc7db6cb67b140bfeb8b4be Reviewed-on: https://gerrit.libreoffice.org/c/help/+/116405 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2021-03-22CSS: Initial teeny-tiny changes towards tdf#139926Adolfo Jayme Barrientos
Since I keep procrastinating on the Online Help redesign, let’s do it incrementally. Change-Id: I2e7ebc1d3d9df8f6b7425dcae50464d463d7f0c3
2020-10-24Use z-index: 100 for TopLeftHeaderIlmari Lauhakangas
The tooltip functionality was making things messy with the sticky header Change-Id: I8a77b11c950c54f00bde0c040a2945f503f993b5 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/104749 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
2020-09-28Keep logo text colour white even when visitedIlmari Lauhakangas
Change-Id: I5cad9cdaf606b2b809c8e8a39a0dbf82ce15f919 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/103548 Tested-by: Jenkins Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2020-09-10CSS: Separate this rule out of the blockAdolfo Jayme Barrientos
Change-Id: I1c7ea2603fcbb8a6668cde831848246bb4d1c3a4
2020-09-10Online help CSS: improve link colors so Olivier doesn’t hate meAdolfo Jayme Barrientos
Change-Id: Ia03fdfe89ac578891458b19657486d398d4bc1b4
2020-06-24tdf#133640 Replace problematic colors to make links discernibleAdolfo Jayme Barrientos
… and add back their default underlines, but dimmed. I still think this looks busy, but I shall get used to it. It’s more a11y-friendly this way. Also, the old, green footer line is gone, since it doesn’t really fit in since commit 4d6b5e5f74c50cc440a46fada8fa89ad2f946749. Change-Id: Ie9feb3cc232ec249dbe323c2ec4b761c12e91ad6
2020-06-23Update CSS box colors to match new ColibreAdolfo Jayme Barrientos
Change-Id: I5ed9fdcad79fc34032e6c8d1536aaaf12d32e177
2020-06-07Improve web help headerIlmari Lauhakangas
Header with symbol, logo and navigation dropdowns now uses grid layout when screen width is desktop. Change-Id: I00612ebe04110b3608d9534c0ebdb23d5b788c54 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/95668 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-06-03Fix [aria-hidden] topix in CSSOlivier Hallot
Change-Id: Ifbc5d8d7a3ffc92965a78062c5943b5e94081bf0 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/95434 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-31Update prism.js to latest versionOlivier Hallot
Update prism.js and companion css to latest version Fixes the Currency and Type keyword highlight Fixes line numbering interference with a11y-toggle.js Change-Id: Ibbb5c95790e1366f0a1dbc497d8741e69a0a3957 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/95173 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-26tdf#126813 Fix scrolling of targeted referencesOlivier Hallot
Change-Id: Ic7ce644cc0a5053905e980952ad31767fa87125c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94885 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-26Remove unused CSS classOlivier Hallot
Change-Id: I9db4df3062c411570a77686ec2b4fe3124f71539 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94879 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-05-15CSS: Change selection colorAdolfo Jayme Barrientos
It doesn’t play nice anymore since 4d6b5e5f74c50cc440a46fada8fa89ad2f946749 Change-Id: Ib897702ad32915164e277e092103c295bba41366
2020-05-01Help CSS: allow title in header to be widerIlmari Lauhakangas
Added a column and let the title section to grow into it. Also removed the hardcoded size from the Xapian search input. Change-Id: Id391264a17556a35d54b705621deb9bdecc16af2 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93278 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-04-29Apply module brand color to Help pageOlivier Hallot
Change page header and headings to module colors Module colors from branding wiki page https://wiki.documentfoundation.org/Marketing/Branding#Colors Based on ideas of Beatriz Fonseca (@beatorizu) betrizaf@gmail.com Change-Id: Ia855872185a9c5ff6bcf3c351cc78e57e5a7901c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/93100 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-03-12Helponline: Make that image shadow look not tackyAdolfo Jayme Barrientos
Change-Id: I7e0b370ad883e787a8c7b7970d8d96653e577f8e
2020-02-22Refactor XSLTs and CSS (2)Olivier Hallot
class -> id Change-Id: I62c1af5a0203bb66fdd291dbf55633cbb3731353 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89207 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-22Refactor XSLTs and CSSOlivier Hallot
more meanigful names Change-Id: Ib786d2814adaed336f495992711eb89f99d85d39 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89206 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-02-21Remove very old unused CSSOlivier Hallot
Change-Id: I8af3443fb8db832ac2fc9a88dfb6fd779d3475ed Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89163 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2020-01-30tdf#127566: don't change divcopyable border width in onclick handlerMike Kaganski
Instead, define border width in respective CSS, to make it consistent in both clicked and non-clicked states, and avoid "jumping" on click. Change-Id: Ic8ab8d0fd586059e21de6aa866fef95226774acf Reviewed-on: https://gerrit.libreoffice.org/c/help/+/87718 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-24Give some space around imagesOlivier Hallot
Change-Id: Ic7251bfa74c9ee1ac8b55edf8f6bed9791d42903 Reviewed-on: https://gerrit.libreoffice.org/81442 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-22Add Option View help page screenshotOlivier Hallot
+ tweak CSS for images Change-Id: Iaa304a0ccecb6cdea2421de4ffaed52d71a0c76b Reviewed-on: https://gerrit.libreoffice.org/81287 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-14More work on Xapian result pageOlivier Hallot
Added module dropdown fix TODO: Language Change-Id: I47012d6280694d87fb5d19e25c6052b8a7ed89c7 Reviewed-on: https://gerrit.libreoffice.org/80771 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-11Fix top row of page gridOlivier Hallot
Change-Id: I9ae465ac9d00df5561157e0872217a1e8a09e159 Reviewed-on: https://gerrit.libreoffice.org/80678 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-11Fix xapian search bar in Help online (WIP)Olivier Hallot
Change-Id: Ibe178ff79a27b8a21fcbaf2465c66da0786a28fd WIP: need adjusts for mobile. Reviewed-on: https://gerrit.libreoffice.org/80605 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2019-10-01redmine#2555 replace Help online Google searchOlivier Hallot
This is the helpcontent2/ part of the patch. Add xapian-omega search to online Help. The patch replaces Google custom search with xapian-omega search. A new build key is introduced. --with-omindex=server : Localizes and adds the xapian result page template, adds the xapian form to each Help page. --with-omindex=noxap : do not localize the result template and do not add a form in the Help page. --with-omindex= will force Online Help build. Default is noxap NOTES: - xapian-omega databases are built in the server. - searches returns results only on localized Help pages, avoiding same resulis in many languages. TODO: - Tweak the xapian-omega result page CSS and markup. Change-Id: I3dc2b79c4111f61fd5fea01b1f8c95bfacab1e8f Reviewed-on: https://gerrit.libreoffice.org/79366 Tested-by: Jenkins Reviewed-by: Guilhem Moulin <guilhem@libreoffice.org> Tested-by: Guilhem Moulin <guilhem@libreoffice.org>