[Libreoffice-commits] help.git: help3xsl/default.css help3xsl/online_transform.xsl help3xsl/xap_templ_query.xsl
Olivier Hallot (via logerrit)
logerrit at kemper.freedesktop.org
Sat Feb 22 12:13:18 UTC 2020
help3xsl/default.css | 12 ++++++------
help3xsl/online_transform.xsl | 4 ++--
help3xsl/xap_templ_query.xsl | 4 ++--
3 files changed, 10 insertions(+), 10 deletions(-)
New commits:
commit d0bf3b122de80bce6edddcb309bf7ed3a176e9cd
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
AuthorDate: Fri Feb 21 10:28:57 2020 -0300
Commit: Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sat Feb 22 13:12:58 2020 +0100
Refactor XSLTs and CSS (2)
class -> id
Change-Id: I62c1af5a0203bb66fdd291dbf55633cbb3731353
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/89207
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 9e548dd46..69f93543b 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -573,7 +573,7 @@ li.disabled a {
background-color: #FCFCFC;
box-shadow: 0 2px 8px 0 rgba(0,0,0,.05);
}
-.donation-frame {
+#DonationFrame {
background: #18A303;
position: sticky;
top: 0px;
@@ -603,7 +603,7 @@ li.disabled a {
font-size:1.2rem;
text-align: center;
}
-.search-frame {
+#SearchFrame {
background: #18A303;
top: 0px;
position: sticky;
@@ -804,10 +804,10 @@ li.disabled a {
.rightside {
grid-area: rightside;
}
- .donation-frame {
+ #DonationFrame {
grid-area: donation;
}
- .search-frame {
+ #SearchFrame {
grid-area: search;
}
footer {
@@ -853,13 +853,13 @@ li.disabled a {
/* Use @supports to sneak these rules past IE */
@supports (grid-area: auto) {
@media screen and (min-width: 960px) {
- .search-frame {
+ #SearchFrame {
grid-area: search;
display: flex;
justify-content: space-between;
align-items: center;
}
- .donation-frame {
+ #DonationFrame {
grid-area: donation;
display: flex;
justify-content: space-between;
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 5f06749dc..c3bdfba18 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -215,7 +215,7 @@
<div id="DisplayArea" itemprop="articleBody">
<xsl:apply-templates select="/helpdocument/body"/>
</div>
- <div class="search-frame">
+ <div id="SearchFrame">
<xsl:if test="$online">
<xsl:if test="$xapian='yes'">
<div class="xapian-omega-search">
@@ -227,7 +227,7 @@
</xsl:if>
</xsl:if>
</div>
- <div class="donation-frame">
+ <div id="DonationFrame">
<xsl:if test="$online">
<div class="donation">
<p><a href="https://www.libreoffice.org/donate/?pk_campaign=help" target ="_blank"><xsl:value-of select="$ui_donate"/></a></p>
diff --git a/help3xsl/xap_templ_query.xsl b/help3xsl/xap_templ_query.xsl
index 719d8b909..a6648d70c 100644
--- a/help3xsl/xap_templ_query.xsl
+++ b/help3xsl/xap_templ_query.xsl
@@ -137,12 +137,12 @@ document.write("<span title=\""+D+" "+T+"\">]]><xsl:apply-templates select="//va
</div>
</div>
</aside>
-<div class="donation-frame">
+<div id="DonationFrame">
<div class="donation">
<p><a href="https://www.libreoffice.org/donate/?pk_campaign=help" target ="_blank">]]><xsl:value-of select="$ui_donate"/><![CDATA[</a></p>
</div>
</div>
-<div class="search-frame">
+<div id="SearchFrame">
<div class="xapian-omega-search">
</div>
</div>
More information about the Libreoffice-commits
mailing list