summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2019-09-26 16:19:06 +0200
committerAndras Timar <andras.timar@collabora.com>2019-09-26 16:19:06 +0200
commit1e3c9fcd892d91595687b21a6143c3901a4691bc (patch)
treeeeeb17efc148ebd9777b3500c007403862e931ea
parent62b6c2023a69acd44ca744c362e1680f1c7ccf32 (diff)
[cp] Fix style and position of search bar
Change-Id: Idf442ddadfb30e0708bc5f37cf030dc469118c0e
-rw-r--r--help3xsl/default.css9
-rw-r--r--help3xsl/online_transform.xsl32
2 files changed, 19 insertions, 22 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index cfc6596029..fccdc81901 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -799,11 +799,10 @@ li.disabled a {
grid-area: rightside;
}
.xapian-omega-search {
- grid-area: google;
- position: sticky;
- top: 0px;
- background-color: #FCFCFC;
- box-shadow: none;
+ margin: 0;
+ position: absolute;
+ top: 19px;
+ left: 360px;
}
.donation {
max-width: 400px;
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 40dddc353f..04a601fee0 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -216,9 +216,8 @@
</aside>
<div id="DisplayArea" itemprop="articleBody">
<xsl:apply-templates select="/helpdocument/body"/>
- </div>
- <div class="google-donation">
- <xsl:if test="$online">
+ <footer>
+ <xsl:if test="$online">
<div class="xapian-omega-search">
<form name="P" method="get" action="/cgi-bin/omega/omega" target="_top">
<input type="hidden" name="DB" value="{$lang}"/>
@@ -228,21 +227,20 @@
<input type="submit" class="xapian-omega-search-button" value="&#x1f50d;"/>
</form>
</div>
- </xsl:if>
+ </xsl:if>
+ <xsl:if test="$online">
+ <p><a href="https://www.collaboraoffice.com/about-us/" target="_blank">About Us</a> | <a href="https://www.collaboraoffice.com/privacy-policy/" target="_blank">Privacy Policy</a> | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the <a href="https://www.mozilla.org/en-US/MPL/2.0/" target="_blank">Mozilla Public License v2.0</a>. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in TDF's <a href="https://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>. Collabora Office is derived from LibreOffice which was based on OpenOffice.org.</p>
+ </xsl:if>
+ <div id="DEBUG" class="debug">
+ <h3 class="bug">Help content debug info:</h3>
+ <p>This page is: <a href="https://opengrok.libreoffice.org/xref/help/source{$filename}" target="_blank"><xsl:value-of select="$filename"/></a></p>
+ <p>Title is: <xsl:value-of select="$title"/></p>
+ <p id="bm_module"></p>
+ <p id="bm_system"></p>
+ </div>
+ </footer>
+
</div>
- <footer>
- <xsl:if test="$online">
- <p><a href="https://www.collaboraoffice.com/about-us/" target="_blank">About Us</a> | <a href="https://www.collaboraoffice.com/privacy-policy/" target="_blank">Privacy Policy</a> | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the <a href="https://www.mozilla.org/en-US/MPL/2.0/" target="_blank">Mozilla Public License v2.0</a>. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in TDF's <a href="https://wiki.documentfoundation.org/TradeMark_Policy" target="_blank">trademark policy</a>. Collabora Office is derived from LibreOffice which was based on OpenOffice.org.</p>
- </xsl:if>
- <div id="DEBUG" class="debug">
- <h3 class="bug">Help content debug info:</h3>
- <p>This page is: <a href="https://opengrok.libreoffice.org/xref/help/source{$filename}" target="_blank"><xsl:value-of select="$filename"/></a></p>
- <p>Title is: <xsl:value-of select="$title"/></p>
- <p id="bm_module"></p>
- <p id="bm_system"></p>
- <p id="bm_HID"></p>
- </div>
- </footer>
</body>
</html>
</xsl:template>