diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2020-06-07 16:04:09 +0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2020-06-07 15:41:42 +0200 |
commit | 24901fb947d0d7adeaefbbddd8d2bad89e49e378 (patch) | |
tree | 740b4447e83bb9abbd39805ebf948a7e7a39c1c0 /help3xsl/online_transform.xsl | |
parent | af22581cca91cdf92b5271ad6ba6a83cc5554ed9 (diff) |
Improve web help header
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>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r-- | help3xsl/online_transform.xsl | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 1f5d93467a..3a934dcb21 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -164,30 +164,30 @@ <meta itemprop="datePublished" content="2017"/> <meta itemprop="headline" content="{$titleL10N}"/> </xsl:if> - <div id="TopLeftHeader"> - <header> - <div class="logo-container"> - <a class="logo" href="{$lang}/text/shared/05/new_help.html"> - <div class="symbol"></div> - <p><xsl:value-of select="$ui_logo"/></p> - </a> - </div> - </header> - <div class="modules"> - <button type="button" data-a11y-toggle="modules-nav" id="modules" onclick="setupModules('{$lang}');"> - <xsl:value-of select="$ui_module"/> - </button> - <nav id="modules-nav"/><!-- is filled in via setupModules() on demand --> - </div> - <xsl:if test="$online"> - <div class="lang"> - <button type="button" data-a11y-toggle="langs-nav" id="langs" onclick="setupLanguages('{$htmlpage}');"> - <xsl:value-of select="$ui_language"/> + <header id="TopLeftHeader"> + <a class="symbol" href="{$lang}/text/shared/05/new_help.html"> + <div></div> + </a> + <a class="logo" href="{$lang}/text/shared/05/new_help.html"> + <p><xsl:value-of select="$ui_logo"/></p> + </a> + <div class="dropdowns"> + <div class="modules"> + <button type="button" data-a11y-toggle="modules-nav" id="modules" onclick="setupModules('{$lang}');"> + <xsl:value-of select="$ui_module"/> </button> - <nav id="langs-nav"/><!-- is filled in via setupLanguages() on demand --> + <nav id="modules-nav"/><!-- is filled in via setupModules() on demand --> </div> - </xsl:if> - </div> + <xsl:if test="$online"> + <div class="lang"> + <button type="button" data-a11y-toggle="langs-nav" id="langs" onclick="setupLanguages('{$htmlpage}');"> + <xsl:value-of select="$ui_language"/> + </button> + <nav id="langs-nav"/><!-- is filled in via setupLanguages() on demand --> + </div> + </xsl:if> + </div> + </header> <aside class="rightside"> <input id="accordion-1" name="accordion-menu" type="checkbox"/> <label for="accordion-1"><xsl:value-of select="$ui_contents"/></label> |