-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hello,
I am new to CSS. I am trying to customize atlantic theme.
My problem:
i got external CSS file.
i got listbox with <listitem> tag in my zul file what i want to do is change the colour when listitem is selected or when i pass by listitem with mouse cursor. (from default dark blue to purple)
i tried to add this to my css file but nothing has changed the colour is still same
.z-listitem-seld{
background-color: #a8aff7;
}
.z-listitem:hover{
background-color: #a8aff7;
}
but on the other hand i tried to change background of button like this:
.z-button {
border: none;
background: #a8aff7;
}
.z-button:hover{
border: none;
background: #a8aff7;
}
and it worked...
Can someone explain me what I am doing wrong?
Thanks.
Hello demizon,
Since you are using the atlantic theme the best would be to load the project, update, and redeploy it.
http://books.zkoss.org/wiki/ZKStyleCustomizationGuide/LookandFeelCustomization/CreateNewLookandFeel
If you want to style the component directly, and bypass the atlantic theme let me know.
Best Regards,
Darksu
Asked: 2015-12-02 12:23:07 +0800
Seen: 27 times
Last updated: Dec 02 '15
How to control selectAll() feature in a Listbox with multiple=true and checkmark=true
ZK8 Wizard Series: Part 2 now released!
Faster And Lighter, The Performance Test On ZK8
org.zkoss.xel.XelException: Resource not found: http://www.zkoss.org/dsp/web/core
How To Check Dirty Status in ZK8?
Come and join the ''JS'' Hunt!