summaryrefslogtreecommitdiffstats
path: root/help3xsl/default.css
Commit message (Collapse)AuthorAgeFilesLines
* Improve web help headerIlmari Lauhakangas2020-06-071-23/+36
| | | | | | | | | | | | 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> (cherry picked from commit 24901fb947d0d7adeaefbbddd8d2bad89e49e378) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/95743
* Update prism.js to latest versionOlivier Hallot2020-06-031-3/+4
| | | | | | | | | | | | | | 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> (cherry picked from commit 0c721f4ecf55911d125e33e3afea534d1ffe42b2) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/95129 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
* tdf#126813 Fix scrolling of targeted referencesOlivier Hallot2020-05-261-0/+3
| | | | | | | Change-Id: Ic7ce644cc0a5053905e980952ad31767fa87125c Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94885 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Remove unused CSS classOlivier Hallot2020-05-261-10/+0
| | | | | | | Change-Id: I9db4df3062c411570a77686ec2b4fe3124f71539 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/94879 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* CSS: Change selection colorAdolfo Jayme Barrientos2020-05-151-1/+1
| | | | | | It doesn’t play nice anymore since 4d6b5e5f74c50cc440a46fada8fa89ad2f946749 Change-Id: Ib897702ad32915164e277e092103c295bba41366
* Help CSS: allow title in header to be widerIlmari Lauhakangas2020-05-011-9/+23
| | | | | | | | | | 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>
* Apply module brand color to Help pageOlivier Hallot2020-04-291-2/+0
| | | | | | | | | | | | | | 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>
* Helponline: Make that image shadow look not tackyAdolfo Jayme Barrientos2020-03-121-3/+3
| | | | Change-Id: I7e0b370ad883e787a8c7b7970d8d96653e577f8e
* Refactor XSLTs and CSS (2)Olivier Hallot2020-02-221-6/+6
| | | | | | | | | 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>
* Refactor XSLTs and CSSOlivier Hallot2020-02-221-1/+1
| | | | | | | | | 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>
* Remove very old unused CSSOlivier Hallot2020-02-211-20/+0
| | | | | | | Change-Id: I8af3443fb8db832ac2fc9a88dfb6fd779d3475ed Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89163 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#127566: don't change divcopyable border width in onclick handlerMike Kaganski2020-01-301-0/+1
| | | | | | | | | | 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>
* Give some space around imagesOlivier Hallot2019-10-241-0/+2
| | | | | | | Change-Id: Ic7251bfa74c9ee1ac8b55edf8f6bed9791d42903 Reviewed-on: https://gerrit.libreoffice.org/81442 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Add Option View help page screenshotOlivier Hallot2019-10-221-0/+10
| | | | | | | | | + 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>
* More work on Xapian result pageOlivier Hallot2019-10-141-1/+2
| | | | | | | | | | 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>
* Fix top row of page gridOlivier Hallot2019-10-111-0/+4
| | | | | | | Change-Id: I9ae465ac9d00df5561157e0872217a1e8a09e159 Reviewed-on: https://gerrit.libreoffice.org/80678 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Fix xapian search bar in Help online (WIP)Olivier Hallot2019-10-111-38/+32
| | | | | | | | 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>
* redmine#2555 replace Help online Google searchOlivier Hallot2019-10-011-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Hide our nav checkbox inputs only visuallyIlmari Lauhakangas2019-05-181-1/+9
| | | | | | | | | Some screenreaders do not read elements with opacity: 0 Change-Id: Ifc4c97a58c87e7d6b9533e15dc0db60aa70bfb97 Reviewed-on: https://gerrit.libreoffice.org/72519 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Improve accessibility for modules and lang menusIlmari Lauhakangas2019-05-181-17/+23
| | | | | | | | | | | | | | | | | | | | Ever since the contents of the modules and lang menus started being populated upon click, the flow for screenreader users has been potentially confusing. This patch introduces a11y-toggle into the mix: https://github.com/edenspiekermann/a11y-toggle Checkboxes were changed into buttons. This hopefully makes it clear we want the user to click them. The contents tree still uses the checkbox hack, because its items are populated upon page load. Change-Id: I3482bea0c8669f96794498fc37d9d18fe3f829d5 Reviewed-on: https://gerrit.libreoffice.org/72467 Tested-by: Jenkins Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#122548 copy bascode and pycode to clipboardOlivier Hallot2019-04-261-1/+3
| | | | | | | | | This will allow easy testing of coding examples. Change-Id: I30fc53642b1579744591f2de0c84a615d1755352 Reviewed-on: https://gerrit.libreoffice.org/71385 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#124245 Polyfills and fixes for IE11Ilmari Lauhakangas2019-03-271-1/+2
| | | | | | | | | | | | | | | | | | | | | The polyfills can be removed after we drop IE11 support. Other IE11 fixes: Change from document.URL to window.location.pathname because otherwise we get local Windows paths with backward slashes. Use clear: left; for google-donation element so it doesn't float on top of other elements. Don't use defer to load fuzzysort.js and prism.js. Change-Id: I6c0143eab555c8b1fbdbde8e749a24baed2f69c8 Reviewed-on: https://gerrit.libreoffice.org/69549 Tested-by: Jenkins Reviewed-by: himajin100000 <himajin100000@gmail.com> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Header and donation CSS tweaksIlmari Lauhakangas2019-03-151-2/+6
| | | | | | | | Change-Id: I20e5610c08db700e12baffa9b62dcf8dfd0c4328 Reviewed-on: https://gerrit.libreoffice.org/69278 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Jenkins
* Show module & lang navigation on mobileIlmari Lauhakangas2019-03-101-0/+6
| | | | | | | | | | | | | | | | | | | | Module & languages menus were not shown on screen widths < 960. Changed module & languages menu background to span the whole width, when on mobile. An arrow function was used in help2.js, which means it was broken on IE. Moved all src .js files to head and used defer for all. Moved inline Piwik & system info JS into help2.js and added a test for onlineness targeting the first meta element in the body. Change-Id: Ic1a928b53ce9029f9f655117977cd511b7e3246d Reviewed-on: https://gerrit.libreoffice.org/69005 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Donation button and sticky header for HelpIlmari Lauhakangas2019-03-081-30/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | Task: https://redmine.documentfoundation.org/issues/2815 Header was made sticky on non-mobile by using position: sticky. This was the only way to make it work with the grid without carving magic numbers into stone. IE11 ignores it, but so what? Donation text was made shorter. The Google search and the donation button were wrapped in a container to make it easy to haul them all over the place. Lots of tweaks were made to the grid areas and the styles of the bottom elements to make everything fit nicely in the new markup order. The result was tested on IE11 to make sure it degrades gracefully. The Displayarea element had a fixed width (my old mistake), which made the min-width: 960px layout look very uncool. Change-Id: I131a1e82290bc3381c938acb4dc9dbc408fb2ba7 Reviewed-on: https://gerrit.libreoffice.org/68890 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Revert "Improve donation link in Help online"Adolfo Jayme Barrientos2019-03-041-66/+12
| | | | | | | | | This reverts commit bd26e706b30dccecdeba24ba8b697ddf2fc7a615. Change-Id: Id45b4ef2bacae444be070a03fbc0e10a4992f85c Reviewed-on: https://gerrit.libreoffice.org/68699 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Improve donation link in Help onlineOlivier Hallot2019-03-041-12/+66
| | | | | | | | | | | | | | | | | | redmine#2815 Addressed responsiveness: for screen width < 960px the button goes to the bottom of the screen and the header is not fixed anymore. Artists are invited to improve button rendering. Button max width is 300px, the en-US text and the translated text should fit in 2 lines of 300px each. Text is centered. Change-Id: I51860be2ad998e85f247118e44b21af3e2efa060 Reviewed-on: https://gerrit.libreoffice.org/68644 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* More CSS tweaks…Adolfo Jayme Barrientos2019-02-211-19/+24
| | | | | | | | | | | | | | • Ever-so-slightly brightened link color • Made most tables centered; I think they look much better • Removed some pointless spacing • Made all dropdown options consistently align to the left • Finally found out why pagination had extra 40px to its left and it’s a shame the normalizer doesn’t account for it • Correctly made disabled pagination links unsensitive • Gave styling to the search bar for consistent appearance in Gecko- and Blink-based browsers Change-Id: Idcb488160aa97ec0c4adb5202aed7f194dfac7c9
* Minor color and padding tweaks; some styling for TOCAdolfo Jayme Barrientos2019-02-071-18/+17
| | | | | | | | Just to fix the most egregious issues in content paragraphs. Some day I will actually have the energy to systematize everything into a cohesive set of spacing and padding values. Change-Id: I6d5d36e96d9c9a133d61b233413ebd17d8189d33
* tdf#121571 Solve cognitive dissonance with note icons and colorsAdolfo Jayme Barrientos2019-01-281-9/+9
| | | | | | | More often than not, the alarmist colors given to note boxes didn’t match their content. Change-Id: I88d7a8e2d07ffba661c218887fd54638506d21c8
* Drop this pitiful, bothersome, gimmicky animationAdolfo Jayme Barrientos2019-01-281-14/+1
| | | | Change-Id: If533f8565e38e02d503cc1ab59f65e2445f1369b
* Review code in help page and mute l10n when OKOlivier Hallot2018-12-261-2/+8
| | | | | | | | | | + Added "smathcode" role to render smath code paragraphs + let smath code samples be copied to clipboard. Change-Id: I580c162d0c77f51d0de817ca143a845abf56eca9 Reviewed-on: https://gerrit.libreoffice.org/65621 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#115663 Syntax highlight in BASIC code examplesOlivier Hallot2018-11-291-29/+2
| | | | | | | | | | | | | Use prism.js to highlight BASIC code in help pages See README.prism.js.txt for details added normalize-whitespaces plugin to remove extra 1st line cleaned some useless css class Change-Id: I6dde4d217a29f485199ced462b896ee1b500fba0 Reviewed-on: https://gerrit.libreoffice.org/64252 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#121797 XHP extensions (Help part)Olivier Hallot2018-11-281-2/+15
| | | | | | | | | | | | | | | | | | | WIP. This is the Help part. Extend the XML parser to include new incantations of the <paragraph> tag, namely <h1> to <h6> <note>, <tip> and <warning> Extension to the <item> tag: <menuitem>, <input>, <literal>, <widget> and <keycode> * removed test files Change-Id: I2a473ee8772606f5e84bb02e651bccc6749598f4 Reviewed-on: https://gerrit.libreoffice.org/63954 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#119415 Widen search box and style placeholderAdolfo Jayme Barrientos2018-11-221-3/+5
| | | | Change-Id: I0f60cfea338e695e778d16a208153597ec6d19ca
* tdf#119415 change from fuse.js to fuzzysort.jsIlmari Lauhakangas2018-11-091-6/+3
| | | | | | | | | | Tied the index listing to the current module. Fuzzysort.js is MIT licensed. Change-Id: I5d95cc1870a1856089217846ed0af572abc882d7 Reviewed-on: https://gerrit.libreoffice.org/63203 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Helponline: H2 too similar to H3Adolfo Jayme Barrientos2018-09-151-1/+1
| | | | | | A teeny-tiny upward nudge. Change-Id: I9491c5a849316907f0770ab29752cbc385cef107
* Show how beautiful are our iconsOlivier Hallot2018-09-061-0/+10
| | | | | | | | | | | On hovering icons, enlarge them. Next step: change icons to SVG (tdf#117551) Change-Id: Ib43e3b54ed27352a8ca785c57dce9314adc00e4d Reviewed-on: https://gerrit.libreoffice.org/60053 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Better placement of background color definitions & a new shadowAdolfo Jayme Barrientos2018-08-231-6/+5
| | | | Change-Id: I8ad99f278cd1e4d96ae873627f2dfa2a5b827761
* Add some space between warning/note/tip boxesOlivier Hallot2018-08-231-1/+2
| | | | | | | Change-Id: I37b9bf85cbe2b3e101c5ba4c71391692b2a65425 Reviewed-on: https://gerrit.libreoffice.org/59473 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Restore 'GLOBAL' label in IndexOlivier Hallot2018-07-221-1/+1
| | | | | | | | | GLOBAL is the external nam of the SHARED bookmarks. Change-Id: If4a877cc26dddb3fa99e5369ef63c7333aa53ffe Reviewed-on: https://gerrit.libreoffice.org/57815 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Also add that here…Adolfo Jayme Barrientos2018-07-101-1/+1
| | | | Change-Id: Ia31ace1a2f844dbd707839a44ec131f424513924
* Helponline: Fix alignment of TOC in sidebarAdolfo Jayme Barrientos2018-07-101-1/+1
| | | | | | It was too close to the window border in Edge, Chrome and Firefox Nightly. Change-Id: I29a7b17c6abc240baa1f75cba879942810ebee07
* tdf#118430 Three column layout with 1440px widthIlmari Lauhakangas2018-07-101-17/+38
| | | | | | | | | | | Contents will now stay collapsed until 1440px width, when it will move to the right side of the screen. Removed useless and harmful float:left from .index-label. Change-Id: I504e8c4be3a5e777dc7bafbd6a6105b163e4a5f3 Reviewed-on: https://gerrit.libreoffice.org/57129 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Helponline: Improve a few colors some moreAdolfo Jayme Barrientos2018-07-021-24/+24
| | | | Change-Id: I3d9db610057119cdb08b1f31152700ed18d6ea16
* Helponline: New .howtoget, small tweaks to other boxes, tiny changes to colorsAdolfo Jayme Barrientos2018-06-201-37/+35
| | | | | | | Change-Id: I3d7d396482df4143b09776230c571c0c69ab0b5a Reviewed-on: https://gerrit.libreoffice.org/56040 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
* Fix <bascode> rendering for paragraphsOlivier Hallot2018-06-151-0/+4
| | | | | | | Change-Id: I4c76bac48f3be30dc3bcd358df427843a5f97a7a Reviewed-on: https://gerrit.libreoffice.org/55837 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Add back fonts for complex scriptsIlmari Lauhakangas2018-06-141-1/+1
| | | | | | | Change-Id: Ibe468e41fd016871ee30909dd6a9515e7d10b22a Reviewed-on: https://gerrit.libreoffice.org/55801 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* Helponline: Allow for system typeface to be usedAdolfo Jayme Barrientos2018-06-131-1/+1
| | | | | | | Change-Id: Ic3868b0bcdbb978f450666b4f98e53587b5e7f85 Reviewed-on: https://gerrit.libreoffice.org/55728 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
* tdf#94121 Give code paragraphs a different background, againAdolfo Jayme Barrientos2018-06-051-1/+5
| | | | | | | | | The old wikihelp had this, but this time it won’t look as tawdry. Change-Id: I709b94c512cb15d6c1b5ef5b76b9e1bb13b6f09b Reviewed-on: https://gerrit.libreoffice.org/55301 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>