I'm not any type of css wizard but I'm trying to find my way around the various css elements defined in the oacs-provided css files. In all cases I have seen, <a> tag attributes are set by a class definition, and the class is specified inside the <a> tag:
<a href="/location/..." class="button">Link Text</a>
Some of the attributes: font size, font family, and others can be controlled from the enclosing block:
<div class="enclosing">
<a href...>...
</div>
Some attributes cannot be set from the outer block: text decoration, visited and hover attributes. Given that a "class" is included in the link definition, they can be set as follows:
a.button:link{link settings}
a.button:visited{visited settings}
a.button:hover{hiver settings}
Procedure ad_context_bar does not allow you to specify any css settings to include when generating the context_bar, so a "class" cannot be contained in the links that are generated. The context_bar's appearance does not match (or even blend with) the look and feel of the rest of the page.
Is there a way to control the link, visited, and hover attributes if no "class" is contained in the link definition?
If not, has anyone modified ad_context_bar to accept css that is then included in the string that it returns?
Is it worthwhile to get this into the toolkit?
Randy