0

How to change progress box color ?

asked 2012-01-03 17:06:25 +0800

Mychal gravatar image Mychal
151 3

Still in ZK 5.0.9 EE package,

how to set red color for progress box ?

i'm trying style balise with .z-indicator-loading, but nothing works.

Any idea ? Thanks

delete flag offensive retag edit

6 Replies

Sort by ยป oldest newest

answered 2012-01-03 18:33:39 +0800

twiegand gravatar image twiegand
1807 3

Try using .z-loading-indicator instead.  Something like this:

<zk>
	<style>
		.z-loading-indicator {
			height: 100px;
			border: 10px solid red;
			background-color: yellow;
		}
	</style>
	<button label="Show progressbox">
		<attribute name="onClick">
			Clients.showBusy("Now Processing...", true);
		</attribute>
	</button>
</zk>

Regards,

Todd

link publish delete flag offensive edit

answered 2012-01-04 12:47:51 +0800

Mychal gravatar image Mychal
151 3

yeah my mistake....it was .z-loading-indicator :p

But there is no effect.

Progress box stays blue....

link publish delete flag offensive edit

answered 2012-01-04 12:55:25 +0800

Mychal gravatar image Mychal
151 3

For moment, i just setted the position (center) in zk.xml.

It's working, too bad there is nothing to set color....

link publish delete flag offensive edit

answered 2012-01-06 11:48:16 +0800

siva477 gravatar image siva477
57

Hi Mychal,

Apply CSS in your CSS file

.z-loading-indicator {
color: red;
}

link publish delete flag offensive edit

answered 2012-01-09 16:48:53 +0800

Mychal gravatar image Mychal
151 3

already tried it too, no effect.

Is it possible that doesn"t work cause i have a page build in many parts ?
I have a jsp that import a header, a main and a footer.

style was defined in main.zul first, then on a css which is import in the header of the JSP but no one works.

link publish delete flag offensive edit

answered 2012-01-11 13:43:31 +0800

Mychal gravatar image Mychal
151 3

ok, we found something.....

We have added !important in CSS

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2012-01-03 17:06:25 +0800

Seen: 241 times

Last updated: Jan 11 '12

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