Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
Sync with billboard version. Fix a css conflict with zk.
Browse files Browse the repository at this point in the history
  • Loading branch information
hengsin committed Sep 5, 2022
1 parent 563365f commit 21c0796
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion org.idempiere.zk.billboard/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Billboard
Bundle-SymbolicName: org.idempiere.zk.billboard
Bundle-Version: 1.0.0.qualifier
Bundle-Version: 3.5.1.qualifier
Bundle-Vendor: iDempiere
Fragment-Host: org.adempiere.ui.zk;bundle-version="8.2.0"
Automatic-Module-Name: org.idempiere.zk.billboard
Expand Down
2 changes: 2 additions & 0 deletions org.idempiere.zk.billboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@
1. Wrap https://github.com/naver/billboard.js as zk component.

2. To update, replace billboard.pkgd.js and billboard.pkgd.src.js with latest billboard.pkgd.js and billboard.pkgd.min.js from https://github.com/naver/billboard.js (Note that due to naming convention of zk, billboard.pkgd.js=billboard.pkgd.min.js and billboard.pkgd.src.js=billboard.pkgd.js ).

3. To update, replace billboard.css with latest billboard.css from https://github.com/naver/billboard.js. Add !important to padding and text-align of .bb-tooltip th and padding of .bb-tooltip td to fix conflict with zk css
5 changes: 4 additions & 1 deletion org.idempiere.zk.billboard/src/metainfo/zk/lang-addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<language-name>xul/html</language-name>
<version>
<version-class>org.idempiere.zk.billboard.Version</version-class>
<version-uid>3.5.1.202200901</version-uid>
<version-uid>3.5.1.20220905</version-uid>
</version>
<component>
<component-name>billboard</component-name>
Expand All @@ -19,4 +19,7 @@
</component>

<stylesheet href="~./js/zul/billboard/css/billboard.css" type="text/css"/>
<javascript-module name="zul.billboard" version="3.5.1.20220905"/>
<!-- this js module doesn't actually exists and it is here for billboard.css version -->
<javascript-module name="zul.billboard.css" version="3.5.1.20220905"/>
</language-addon>
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
public class Version {
/** Returns the version UID.
*/
public static final String UID = "3.5.1.202200901";
public static final String UID = "3.5.1.20220905";
}
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@
.bb-tooltip th {
background-color: #aaa;
font-size: 14px;
padding: 2px 5px;
text-align: left;
padding: 2px 5px !important;
text-align: left !important;
color: #FFF; }
.bb-tooltip td {
font-size: 13px;
padding: 3px 6px;
padding: 3px 6px !important;
background-color: #fff;
border-left: 1px dotted #999; }
.bb-tooltip td > span, .bb-tooltip td > svg {
Expand Down

0 comments on commit 21c0796

Please sign in to comment.