summaryrefslogtreecommitdiffstats
path: root/help3xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2020-02-21 10:28:57 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2020-02-22 13:12:58 +0100
commitd0bf3b122de80bce6edddcb309bf7ed3a176e9cd (patch)
treefa505a05813a1243c7cf07b2051562956b9775f4 /help3xsl
parentRefactor XSLTs and CSS (diff)
downloadhelp-d0bf3b122de80bce6edddcb309bf7ed3a176e9cd.tar.gz
help-d0bf3b122de80bce6edddcb309bf7ed3a176e9cd.zip
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@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/default.css12
-rw-r--r--help3xsl/online_transform.xsl4
-rw-r--r--help3xsl/xap_templ_query.xsl4
3 files changed, 10 insertions, 10 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 9e548dd463..69f93543b8 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 5f06749dc0..c3bdfba188 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 719d8b9091..a6648d70c7 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>