-
1. Re: Enable CONTROL_SKINNING except for links, is it possible?
ilya_shaikovsky Feb 10, 2010 8:11 AM (in response to fkj)need clarification on that
I've tried to customize the link classes but it sometimes render correctly and sometimes not.
-
2. Re: Enable CONTROL_SKINNING except for links, is it possible?
fkj Feb 10, 2010 8:41 AM (in response to ilya_shaikovsky)I realized that the CSS mentioned above is not making difference.
In the image bellow, CONTROL_SKINNING is enabled. It doesn't overrides all of my link styles. Each time the page renders different links are blue. This is just an observation, as I think that the correct behavior would be all links blue.
My need is to disable CONTROL_SKINNING for links, so that I can use my own CSS styles.
-
3. Re: Enable CONTROL_SKINNING except for links, is it possible?
ilya_shaikovsky Feb 10, 2010 10:37 AM (in response to fkj)1 of 1 people found this helpfulrich-link and the other classes you listed - are predefined rich classes which could be applied to links direcly by using styleClass.
But selectors which actually defines default skinning defined as
a{
..
}
a:hover {
...
}
...
so you should redefine using these selectors.
-
4. Re: Enable CONTROL_SKINNING except for links, is it possible?
fkj Feb 10, 2010 12:10 PM (in response to ilya_shaikovsky)I've tried to add the following style, with no content, but I'm still getting random blue links.
a { } a:hover { } a:visited { }
-
5. Re: Enable CONTROL_SKINNING except for links, is it possible?
ilya_shaikovsky Feb 11, 2010 6:56 AM (in response to fkj)styles with no content - will do nothing redefine color for example:
a{
color:red;
}
-
6. Re: Enable CONTROL_SKINNING except for links, is it possible?
fkj Feb 11, 2010 1:27 PM (in response to ilya_shaikovsky)I tried that but it didn't worked either.
Since my site has only one form I ended up disabling CONTROL_SKINNING and adding the necessary classes(.rich-input-text, .rich-select, etc) to the components.