0

activating atlantic theme removes icons

asked 2014-11-05 21:11:56 +0800

chw gravatar image chw
24 1

If I run the following code snippet on zk 7.0.2 without atlantic theme the icons are shown. If I activate the atlantic theme the icons disappear. I would like to use the icons also with atlantic theme. What I am doing wrong?

<navbar orient="horizontal" collapsed="false">
    <navitem label="TEST" />
    <nav label="ITEM 1" iconSclass="z-icon-folder" badgeText="3">
        <navitem label="Step One" />
        <navitem label="Step Two" />
        <navitem label="Step Three" />
    </nav>
    <navitem label="ITEM 2" iconSclass="z-icon-envelope" />
    </nav>
</navbar>
delete flag offensive retag edit

15 Answers

Sort by ยป oldest newest most voted
0

answered 2014-11-20 10:16:30 +0800

kwalczak gravatar image kwalczak
9

Hi once again,

One more thing when I downgraded to atlantic-1.0.2 everything is working as expected. I'm using the latest EE version of zk i.e. 7.0.3.2

Regards

link publish delete flag offensive edit

Comments

Hi thanks for the answer. I will check if this behaviour is the same in my project

chw ( 2014-11-20 13:42:18 +0800 )edit
0

answered 2014-11-21 06:51:03 +0800

askers gravatar image askers
1

nicely done!!

link publish delete flag offensive edit
0

answered 2014-11-23 19:04:36 +0800

ezetus gravatar image ezetus
1

Thanks for it, good job!

link publish delete flag offensive edit
0

answered 2014-11-25 08:31:20 +0800

golgot gravatar image golgot
1
http://www.lekkikredyt.co...

Nice one. Its very usefull for me.

link publish delete flag offensive edit
0

answered 2015-01-26 11:24:22 +0800

roguetache gravatar image roguetache
0

updated 2015-01-26 11:26:02 +0800

I experienced this with atlantic 1.0.4

Thanks to the clue above about providing an explicit norm.css.dsp file I tracked this to a bug in the less to css generation.

Looking in the atlantic jar the ~./zul/css/norm.css.dsp file exists but has size zero.

I downloaded the atlantic source code and ran a package build which confirmed the problem, the lessc compile is silently failing, but it generates a zero byte file.

Edit src/main/resources/web/atlantic/zul/less/norm.less and comment out the .verGradient directive around line 412:

.ie8, .ie9, .ie10 { .z-upload-hover { border-color: @hoverBorderColor; // .verGradient(@hoverGradientStart, @hoverGradientEnd); } }

Now the package build generates a non-empty ~./zul/css/norm.css.dsp and the theme works as expected.

I have added a bug report ZK-2602

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
1 follower

RSS

Stats

Asked: 2014-11-05 21:11:56 +0800

Seen: 76 times

Last updated: Jan 26 '15

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More