PDA

View Full Version : editor template mouseover background css


squishi
09-21-2010, 04:09 PM
On the editor page, the css property background gets set to a color that I believe is the "body" color on the "Main CSS" page.
This happens when I mouseover a button with the CSS property imagebutton.

I want to know where this mouseover property is set. I want to remove it so that my editor buttons no longer disappear on mouseover.

So again: vbulletin resets the background property of the imagebutton class elements on mouseover.
Where can I find this mouseover functionality?

--------------- Added 1285089372 at 1285089372 ---------------

This is what gets added to the imagebutton element's style on mouseover:
element.style {
background:none repeat scroll 0 0 #E1E1E2;
border:1px solid #316AC5;
color:#000000;
padding:1px;
}

On mouseout, the border gets changed a little, the style is not removed.
Therefore the background-image property that I have set for the imagebutton elements gets overwritten.

Where can I find this code?

squishi
09-21-2010, 04:29 PM
Here are the imagebutton's css styles:

Before mouseover(everything's fine here!):
122200

Onmouseover
122202

After mouseover
122201

You can see that this stupid css is injected right into the element.
It overwrites removes the background position that I defined and overwrites the background!
Where does this injection come from?

BigJohnny
09-22-2010, 10:54 AM
look in Styles & Templates > Main CSS.