help.git: Branch 'libreoffice-7-6' - help3xsl/default.css help3xsl/prism.css

2024-04-17 Thread Juan José González (via logerrit)
 help3xsl/default.css |4 
 help3xsl/prism.css   |1 +
 2 files changed, 5 insertions(+)

New commits:
commit 774b8b7a6b2abee14b1badeee35470d2acccea2c
Author: Juan José González 
AuthorDate: Sun Apr 14 11:14:21 2024 -0600
Commit: Adolfo Jayme Barrientos 
CommitDate: Thu Apr 18 07:26:43 2024 +0200

Move z-index rule to CSS stylesheet we control

Previously a fix was pushed to prism css file, which can
be changed by the upstream project. Instead overwrite the
rule in our files.

Change-Id: I549b05d4a359343ae0fe09831644a2eed8fb0474
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/166076
Tested-by: Jenkins
Reviewed-by: Olivier Hallot 
(cherry picked from commit 2b438594148c4ee94cb632e7a3d3b64b547706d5)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/166210
Reviewed-by: Adolfo Jayme Barrientos 

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 54cf36daca..316c07df0c 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -186,6 +186,10 @@ code[class*="language-"], pre[class*="language-"] {
 white-space: pre-wrap;
 }
 
+pre[class*="language-"] > code {
+z-index: 0;
+}
+
 /* Table related classes */
 
 /* Special case of table with one cell*/
diff --git a/help3xsl/prism.css b/help3xsl/prism.css
index 54f0bf021e..4610909810 100644
--- a/help3xsl/prism.css
+++ b/help3xsl/prism.css
@@ -39,6 +39,7 @@ pre[class*="language-"] {
 
 pre[class*="language-"] > code {
position: relative;
+   z-index: 1;
border-left: 10px solid #358ccb;
box-shadow: -1px 0px 0px 0px #358ccb, 0px 0px 0px 1px #dfdfdf;
background-color: #fdfdfd;


help.git: Branch 'libreoffice-7-6' - help3xsl/default.css

2024-01-05 Thread Ilmari Lauhakangas (via logerrit)
 help3xsl/default.css |1 -
 1 file changed, 1 deletion(-)

New commits:
commit 219add06db0e2193170b462ef74956d559ffcbaa
Author: Ilmari Lauhakangas 
AuthorDate: Thu Jan 4 23:05:27 2024 +0200
Commit: Ilmari Lauhakangas 
CommitDate: Fri Jan 5 13:06:53 2024 +0100

tdf#158961 Remove a z-index: 100 rule to keep Safari happy

Modules navigation was not showing up in Safari because it had too
few elements to overflow. For some reason the z-index: 100 rule for
the containing div triggered this buggy behaviour.

Change-Id: I50776401b567d125d086e826ec7a23694bdf6774
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161651
Tested-by: Jenkins
Reviewed-by: Juan José González 
Tested-by: Ilmari Lauhakangas 
Reviewed-by: Ilmari Lauhakangas 
(cherry picked from commit 7f6876711ed991c8cf83edcc47980639b58c2c7a)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161647
(cherry picked from commit c903a5157e0b9fe44a624965b642d1af57ec2b28)
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/161648

diff --git a/help3xsl/default.css b/help3xsl/default.css
index f01f567484..54cf36daca 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -680,7 +680,6 @@ li.disabled a {
 .modules {
 border-bottom: 2px solid #f3f3f3;
 background-color: #26;
-z-index: 100;
 }
 #modules:after, #langs:after {
 font-size: 30px;