help3xsl/default.css  |   15 +++++++++++++++
 help3xsl/noscript.xsl |   35 -----------------------------------
 2 files changed, 15 insertions(+), 35 deletions(-)

New commits:
commit 8477edf27300030dbdb6393c58430c2e290a2127
Author:     Olivier Hallot <[email protected]>
AuthorDate: Sat Jan 25 12:44:56 2025 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Sat Jan 25 22:50:32 2025 +0100

    Work on tables for dark mode
    
    + Center tables in main displays area
    + introduce stripes in table
    
    Change-Id: Ia27c944fe9a51089385b5c099eed853d467004bb
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180745
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <[email protected]>

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 2dcfab5ca7..9ed11b7101 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -234,6 +234,8 @@ table {
     background: var(--background-color);
     box-shadow: rgb(0 0 0 / 8%) 0 1px 5px 0;
     border-collapse: collapse;
+    margin: 0px auto;/* center tables in divs */
+
 }
 table, th, td {
     border-top: 0;
@@ -242,6 +244,9 @@ table, th, td {
     border-right: 0;
     padding: 0.3em;
 }
+tr:nth-of-type(even) {
+    background-color: #e3e3e3;
+}
 html[dir="ltr"] th {
     text-align: left;
 }
@@ -1027,6 +1032,7 @@ li.disabled a {
         --hover-color: #60ec93;
         --link-color: #BB86FC;
         --visited-color: #CF6679;
+        --table-background:#2e2e2e;
     }
 
     body {
@@ -1159,6 +1165,15 @@ li.disabled a {
         background: var(--background-color);
         color: var(--heading-color);
         vertical-align: top;
+        border-style:solid;
+        border-color:#888;
+        border-width:thin
+    }
+    table{
+        background: var(--table-background);
+    }
+    tr:nth-of-type(even) {
+        background-color: #1A1A1A;
     }
 }
 
commit 5ef0e0459c7a86b8faf74470956a885feec43a35
Author:     Olivier Hallot <[email protected]>
AuthorDate: Sat Jan 25 12:46:37 2025 -0300
Commit:     Olivier Hallot <[email protected]>
CommitDate: Sat Jan 25 22:49:27 2025 +0100

    Remove unused transformation on no-script
    
    Change-Id: I8e1e5a236fe80993ea8f4a06404d0c3601411a56
    Reviewed-on: https://gerrit.libreoffice.org/c/help/+/180744
    Reviewed-by: Olivier Hallot <[email protected]>
    Tested-by: Jenkins

diff --git a/help3xsl/noscript.xsl b/help3xsl/noscript.xsl
deleted file mode 100644
index ed693867e4..0000000000
--- a/help3xsl/noscript.xsl
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
-* This file is part of the LibreOffice project.
-*
-* This Source Code Form is subject to the terms of the Mozilla Public
-* License, v. 2.0. If a copy of the MPL was not distributed with this
-* file, You can obtain one at http://mozilla.org/MPL/2.0/.
--->
-<!--
-Stylesheet to create the localized noscript error page.
-xsltproc noscript.xsl <browserhelp.xhp>
--->
-<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
-<xsl:include href="brand.xsl"/>
-<xsl:output indent="yes" method="html"/>
-    <xsl:param name="productname"/>
-    <xsl:param name="productversion"/>
-
-<xsl:template match="/">
-<html>
-<head>
-</head>
-<body>
-<div style="margin: 20px">
-<h1 style="color: red;">
-<xsl:call-template name="brand">
-<xsl:with-param name="string"><xsl:value-of 
select="//variable[@id='noscriptmsg']"/></xsl:with-param>
-</xsl:call-template>
-</h1>
-</div>
-</body>
-</html>
-</xsl:template>
-</xsl:stylesheet>

Reply via email to