PDA

View Full Version : main-rollup.css: Where are these definitions?


Guest210212002
04-08-2011, 09:52 PM
This is driving me insane.

I'm trying to get rid of the blue border around the controls blocks. Like a good little debugger, I'm using Firebug to try and sort my way through the stylevars.

https://vborg.vbsupport.ru/attachment.php?attachmentid=128061&stc=1&d=1302306448

After hunting through css, stylevars, templates, and a couple of beer bottles (the answer was not in them, but I felt better for checking) I found that the CSS is ,blockbody .formcontrols .blockrow.

https://vborg.vbsupport.ru/attachment.php?attachmentid=128062&stc=1&d=1302306651

For the life of me, I can't find this statement anywhere. Where is this border defined, and how do I go about getting rid of it?

Cheers!

Lynne
04-08-2011, 11:01 PM
Do a Search in Templates for ".formcontrols .blockrow" and you should find it.

Guest210212002
04-08-2011, 11:39 PM
Aha! It's actually the tabslight_border Stylevar. It was being all sneaky, and hiding in the CSS with a stylevar call in the defintion. I just wasn't going about it with the right thought process (I was hunting for absolute code, HTML colors, RGB colors, needles, haystacks, and the remainder of my sanity...)

.formcontrols .blockrow {
background:{vb:stylevar formrow_background.backgroundColor} {vb:stylevar formrow_background.backgroundImage} bottom repeat-x;
border-top:solid 1px {vb:stylevar light_border.borderColor};
padding:10px 5px;
}

I'm just going to change my signature to "Thank you Lynne, I owe you a(nother) beer" at this point. :)

Lynne
04-09-2011, 02:03 AM
LOL. You may want to see this - How To: Find a StyleVar (video version) (http://www.vbulletin.com/forum/content.php/290-How-To-Find-a-StyleVar-%28video-version%29)

EasyEazy
10-10-2011, 04:12 PM
LOL. You may want to see this - How To: Find a StyleVar (video version) (http://www.vbulletin.com/forum/content.php/290-How-To-Find-a-StyleVar-%28video-version%29)

Been looking how to change a colour. Many thanks for the heads up on the video Lynne