You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by nm...@apache.org on 2022/12/29 17:20:10 UTC

[ofbiz-framework] branch release22.01 updated: Fixed: Add missing CSS for tree select in Helveticus (OFBIZ-12725)

This is an automated email from the ASF dual-hosted git repository.

nmalin pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git


The following commit(s) were added to refs/heads/release22.01 by this push:
     new 3e101d73db Fixed: Add missing CSS for tree select in Helveticus (OFBIZ-12725)
3e101d73db is described below

commit 3e101d73db19c3be3043f3c14864421298012bf0
Author: Florian Motteau <fl...@nereide.fr>
AuthorDate: Tue Dec 27 16:41:38 2022 +0100

    Fixed: Add missing CSS for tree select in Helveticus (OFBIZ-12725)
    
    Make expand/collapse links visible again
    
    Thanks to Daniel Watford and Priya Sharma to look on it
---
 .../webapp/helveticus/helveticus-main-theme.less   | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/themes/helveticus/webapp/helveticus/helveticus-main-theme.less b/themes/helveticus/webapp/helveticus/helveticus-main-theme.less
index 07461acece..0ff04c666e 100644
--- a/themes/helveticus/webapp/helveticus/helveticus-main-theme.less
+++ b/themes/helveticus/webapp/helveticus/helveticus-main-theme.less
@@ -1504,4 +1504,31 @@ form .basic-table,
 
 .hidden{
   display: none;
+}
+
+// Tree select
+.basic-tree ul, .basic-tree li {
+  padding-right: 0;
+  padding-left: 1em;
+}
+
+.basic-tree li {
+  .expanded, .collapsed {
+    margin-right: 4px;
+    padding-right: 0;
+    padding-left: 1em;
+  }
+
+  .leafnode {
+    padding-right: 1em;
+    margin-right: 4px;
+  }
+
+  .expanded {
+    background: url(/images/collapse.gif) no-repeat right center;
+  }
+
+  .collapsed {
+    background: url(/images/expand.gif) no-repeat right center;
+  }
 }
\ No newline at end of file