The raw CSS templates where the above stylevars are used:
Code:
/****************************************************************************************************
Begin Raw Template :: additional.css
****************************************************************************************************
.attachments example {
border: {vb:stylevar postbit_boxed_border};
background: {vb:stylevar postbit_boxed_background};
margin: 20px {vb:math {vb:stylevar bbcode_quote_padding.paddingLeft}+20px};
-moz-border-radius: {vb:stylevar border_radius};
padding: {vb:stylevar postbit_boxed_padding};
font-size: {vb:stylevar postbit_boxed_fontSize};
}
****************************************************************************************************
End Raw Template :: additional.css
****************************************************************************************************/
The parsed CSS templates with the stylevars replaced with values:
Code:
/****************************************************************************************************
Begin Parsed Template :: additional.css
****************************************************************************************************/
.attachments example {
border: 1px solid #cdcece;
background: #ececec none;
margin: 20px 30px;
-moz-border-radius: 5px;
padding: 5px 10px 5px 10px;
font-size: 12px;
}
/****************************************************************************************************
End Parsed Template :: additional.css
****************************************************************************************************/
The point of this add-on is to try and display stylevars in a more informative way, so you have a better method of finding what stylevars to edit when making your style customizations. This add-on adds extra information to the CSS as comments, and so it over doubles the size of the CSS, but you only want to use this add-on when you are designing so you can more easily find the stylevars or CSS templates to edit.
Versions:
This add-on should work with vB 4.0.2, vB 4.0.3, and vB 4.0.4
This add-on was only tested on vB 4.0.3 with FF 3.5 and IE 8
Installation:
Import the attached file as a product via the ACP
Hard refresh your front-end page to be rid of cache
View the HTML source and go to a css.php page
Un-installation:
Uninstall the add-on using the menu via the ACP
Hard refresh your front-end page to be rid of cache
This add-on only changes the CSS on the fly. It does nothing to the databased CSS so if you see something, or not see something, the "trick" is to hard refresh (e.g., Crtl-F5) the front-end page to be rid of any cached CSS held by your browser.